diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-09 15:44:39 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-09 15:44:39 +0300 |
commit | d0be56f8abcb6842a37daaf696ef4e84d25db9ea (patch) | |
tree | c46d4027f2eab57b2c196662d1b3950cc19456d2 /moses/ChartCell.cpp | |
parent | 176573c0724a65be8c36e5b5c3890d201f936d63 (diff) |
Consistent naming: total score -> m_futureScore
Diffstat (limited to 'moses/ChartCell.cpp')
-rw-r--r-- | moses/ChartCell.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/ChartCell.cpp b/moses/ChartCell.cpp index 2de890740..9f591ee46 100644 --- a/moses/ChartCell.cpp +++ b/moses/ChartCell.cpp @@ -136,8 +136,8 @@ const ChartHypothesis *ChartCell::GetBestHypothesis() const const HypoList &sortedList = iter->second.GetSortedHypotheses(); if (sortedList.size() > 0) { const ChartHypothesis *hypo = sortedList[0]; - if (hypo->GetTotalScore() > bestScore) { - bestScore = hypo->GetTotalScore(); + if (hypo->GetFutureScore() > bestScore) { + bestScore = hypo->GetFutureScore(); ret = hypo; } } |