diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-09-27 12:35:24 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-09-27 12:35:24 +0400 |
commit | 31ce9b510e9a06e998ddddfbe92f0192cf7656b8 (patch) | |
tree | 3bfd084ffb9eb72abe1a560cee0be3b5dc0ace7b /moses/ChartTranslationOptionList.cpp | |
parent | 13e1adf0002c00b84ff9735d5afddb7e0b73530e (diff) |
beautify
Diffstat (limited to 'moses/ChartTranslationOptionList.cpp')
-rw-r--r-- | moses/ChartTranslationOptionList.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/moses/ChartTranslationOptionList.cpp b/moses/ChartTranslationOptionList.cpp index 965797df1..c12035f18 100644 --- a/moses/ChartTranslationOptionList.cpp +++ b/moses/ChartTranslationOptionList.cpp @@ -68,11 +68,11 @@ void ChartTranslationOptionList::Add(const TargetPhraseCollection &tpc, } for (size_t i = 0; i < stackVec.size(); ++i) { - const ChartCellLabel &chartCellLabel = *stackVec[i]; - size_t numHypos = chartCellLabel.GetStack().cube->size(); - if (numHypos == 0) { - return; // empty stack. These rules can't be used - } + const ChartCellLabel &chartCellLabel = *stackVec[i]; + size_t numHypos = chartCellLabel.GetStack().cube->size(); + if (numHypos == 0) { + return; // empty stack. These rules can't be used + } } float score = ChartTranslationOptions::CalcEstimateOfBestScore(tpc, stackVec); |