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 <hieu@hoang.co.uk>2013-09-27 12:35:24 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-09-27 12:35:24 +0400
commit31ce9b510e9a06e998ddddfbe92f0192cf7656b8 (patch)
tree3bfd084ffb9eb72abe1a560cee0be3b5dc0ace7b /moses/ChartCell.cpp
parent13e1adf0002c00b84ff9735d5afddb7e0b73530e (diff)
beautify
Diffstat (limited to 'moses/ChartCell.cpp')
-rw-r--r--moses/ChartCell.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/moses/ChartCell.cpp b/moses/ChartCell.cpp
index e3d6f4243..eb4bd81c1 100644
--- a/moses/ChartCell.cpp
+++ b/moses/ChartCell.cpp
@@ -127,11 +127,11 @@ const ChartHypothesis *ChartCell::GetBestHypothesis() const
for (iter = m_hypoColl.begin(); iter != m_hypoColl.end(); ++iter) {
const HypoList &sortedList = iter->second.GetSortedHypotheses();
if (sortedList.size() > 0) {
- const ChartHypothesis *hypo = sortedList[0];
- if (hypo->GetTotalScore() > bestScore) {
- bestScore = hypo->GetTotalScore();
- ret = hypo;
- }
+ const ChartHypothesis *hypo = sortedList[0];
+ if (hypo->GetTotalScore() > bestScore) {
+ bestScore = hypo->GetTotalScore();
+ ret = hypo;
+ }
}
}