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:
authorHieu Hoang <hieuhoang@gmail.com>2015-11-09 15:44:39 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-11-09 15:44:39 +0300
commitd0be56f8abcb6842a37daaf696ef4e84d25db9ea (patch)
treec46d4027f2eab57b2c196662d1b3950cc19456d2 /moses/ChartCell.cpp
parent176573c0724a65be8c36e5b5c3890d201f936d63 (diff)
Consistent naming: total score -> m_futureScore
Diffstat (limited to 'moses/ChartCell.cpp')
-rw-r--r--moses/ChartCell.cpp4
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;
}
}