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:
authorUlrich Germann <Ulrich.Germann@gmail.com>2015-11-02 21:19:55 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-11-02 21:19:55 +0300
commitf02c7caa18f0076f3764658aeabcd396186252bb (patch)
tree0cb41786a198010046bd8a4601495045ba229f0b /moses/HypothesisStackCubePruning.cpp
parent840d28b735e2265a185131af7356949dda15215c (diff)
Bug fix: yet another reference to StaticData that needed to go.
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 a460a3f0b..4c9471112 100644
--- a/moses/HypothesisStackCubePruning.cpp
+++ b/moses/HypothesisStackCubePruning.cpp
@@ -36,7 +36,7 @@ namespace Moses
HypothesisStackCubePruning::HypothesisStackCubePruning(Manager& manager) :
HypothesisStack(manager)
{
- m_nBestIsEnabled = StaticData::Instance().options().nbest.enabled;
+ m_nBestIsEnabled = manager.options().nbest.enabled;
m_bestScore = -std::numeric_limits<float>::infinity();
m_worstScore = -std::numeric_limits<float>::infinity();
m_deterministic = manager.options().cube.deterministic_search;