diff options
author | Chris Dyer <cdyer@cab.ark.cs.cmu.edu> | 2012-08-13 09:59:00 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@cab.ark.cs.cmu.edu> | 2012-08-13 09:59:00 -0400 |
commit | 8df50dcff502990b69349f753ca2bb7223610bee (patch) | |
tree | 51006e33629f9723e593ba46cdf2936183e61be0 /decoder/hg_test.h | |
parent | b3c04230975c5222dc1833777cdec6adea44ebf5 (diff) |
maybe fix?
Diffstat (limited to 'decoder/hg_test.h')
-rw-r--r-- | decoder/hg_test.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/hg_test.h b/decoder/hg_test.h index c098961d..e96cb0b1 100644 --- a/decoder/hg_test.h +++ b/decoder/hg_test.h @@ -68,6 +68,7 @@ void AddNullEdge(Hypergraph* hg) { TRule x; x.arity_ = 0; hg->nodes_[0].in_edges_.push_back(hg->AddEdge(TRulePtr(new TRule(x)), Hypergraph::TailNodeVector())->id_); + hg->edges_.back().head_node_ = 0; } void HGSetup::CreateTinyLatticeHG(Hypergraph* hg) { |