mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
tweak
This commit is contained in:
parent
ac6f234592
commit
8f012ba9c9
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user