diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-11-02 21:19:55 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-11-02 21:19:55 +0300 |
commit | f02c7caa18f0076f3764658aeabcd396186252bb (patch) | |
tree | 0cb41786a198010046bd8a4601495045ba229f0b /moses/HypothesisStackCubePruning.cpp | |
parent | 840d28b735e2265a185131af7356949dda15215c (diff) |
Bug fix: yet another reference to StaticData that needed to go.
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 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; |