diff options
Diffstat (limited to 'decoder/apply_models.cc')
-rw-r--r-- | decoder/apply_models.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/apply_models.cc b/decoder/apply_models.cc index 11d43e93..77d35c92 100644 --- a/decoder/apply_models.cc +++ b/decoder/apply_models.cc @@ -336,7 +336,7 @@ struct NoPruningRescorer { Hypergraph::TailNodeVector tail(arity); for (int i = 0; i < arity; ++i) tail[i] = nodemap[in_edge.tail_nodes_[i]][tail_iter[i]]; - Hypergraph::Edge* new_edge = out.AddEdge(in_edge.rule_, tail); + Hypergraph::Edge* new_edge = out.AddEdge(in_edge, tail); new_edge->feature_values_ = in_edge.feature_values_; new_edge->i_ = in_edge.i_; new_edge->j_ = in_edge.j_; |