Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Madl <git@abanbytes.eu>2015-11-13 20:56:16 +0300
committerDavid Madl <git@abanbytes.eu>2015-11-17 19:15:13 +0300
commit5fea16a9a6c60fae91b6f920320fb8ad936069ac (patch)
tree7551fb0eb721e85b4ecadb16a720a07e3b31a607 /moses/HypothesisStackCubePruning.cpp
parent73ab44c1266bcc076da890993ee4240e2eaf711f (diff)
move options out of Hypothesis
Diffstat (limited to 'moses/HypothesisStackCubePruning.cpp')
-rw-r--r--moses/HypothesisStackCubePruning.cpp2
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());
}
}