diff options
-rwxr-xr-x | decoder/cfg.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/cfg.cc b/decoder/cfg.cc index 0dfd04d5..f899765e 100755 --- a/decoder/cfg.cc +++ b/decoder/cfg.cc @@ -65,7 +65,7 @@ void CFG::Init(Hypergraph const& hg,bool target_side,bool copy_features,bool pus int n=nt_index(nvar,tails,target_side,w); ++nvar; if (push_weights) crp*=np[n]; - rhs_out[j]=n; + rhs_out[j]=-n; } } assert(nvar==er.Arity()); |