diff options
author | David Madl <git@abanbytes.eu> | 2015-11-13 20:56:16 +0300 |
---|---|---|
committer | David Madl <git@abanbytes.eu> | 2015-11-17 19:15:13 +0300 |
commit | 5fea16a9a6c60fae91b6f920320fb8ad936069ac (patch) | |
tree | 7551fb0eb721e85b4ecadb16a720a07e3b31a607 /moses/HypothesisStackCubePruning.cpp | |
parent | 73ab44c1266bcc076da890993ee4240e2eaf711f (diff) |
move options out of Hypothesis
Diffstat (limited to 'moses/HypothesisStackCubePruning.cpp')
-rw-r--r-- | moses/HypothesisStackCubePruning.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/HypothesisStackCubePruning.cpp b/moses/HypothesisStackCubePruning.cpp index 2c1ba1391..8094925ae 100644 --- a/moses/HypothesisStackCubePruning.cpp +++ b/moses/HypothesisStackCubePruning.cpp @@ -244,7 +244,7 @@ void HypothesisStackCubePruning::CleanupArcList() iterator iter; for (iter = m_hypos.begin() ; iter != m_hypos.end() ; ++iter) { Hypothesis *mainHypo = *iter; - mainHypo->CleanupArcList(); + mainHypo->CleanupArcList(this->m_manager.options().nbest.nbest_size, this->m_manager.options().NBestDistinct()); } } |