Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuhoang committed Dec 6, 2016
1 parent ac6f234 commit 8f012ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/moses2/HypothesisColl.cpp
Expand Up @@ -251,7 +251,7 @@ void HypothesisColl::PruneHypos(const ManagerBase &mgr, ArcLists &arcLists)
HypothesisFutureScoreOrderer());

// update worse score
m_worseScore = sortedHypos[maxStackSize]->GetFutureScore();
m_worseScore = sortedHypos[maxStackSize - 1]->GetFutureScore();

// prune
if (maxStackSize && sortedHypos.size() > maxStackSize) {
Expand Down

0 comments on commit 8f012ba

Please sign in to comment.