diff options
author | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-06-08 11:39:37 +0400 |
---|---|---|
committer | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-06-08 11:39:37 +0400 |
commit | 4d75c889f1e2fe3dd063525bdbbe516a9d71f579 (patch) | |
tree | 6189406cc715a87399b2772efb9321d75b5425cc /moses/Incremental.cpp | |
parent | c47d956e4c394653bb03bf539a5b42a1f600e40c (diff) | |
parent | 76859cf37ba317b21135d8e5face90b9505bf45f (diff) |
merged master into dynamic-models
Diffstat (limited to 'moses/Incremental.cpp')
-rw-r--r-- | moses/Incremental.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Incremental.cpp b/moses/Incremental.cpp index d72573df0..a01b49ae7 100644 --- a/moses/Incremental.cpp +++ b/moses/Incremental.cpp @@ -42,7 +42,7 @@ public: ChartCellLabel::Stack &stack = out_.FindOrInsert(static_cast<const TargetPhrase *>(partial.GetNote().vp)->GetTargetLHS()); Gen *entry = static_cast<Gen*>(stack.incr_generator); if (!entry) { - entry = generator_pool_.construct(context_, *vertex_pool_.construct(), best_); + entry = generator_pool_.construct(boost::ref(context_), boost::ref(*vertex_pool_.construct()), boost::ref(best_)); stack.incr_generator = entry; } entry->NewHypothesis(partial); |