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/ChartTranslationOptionList.cpp
parent13e1adf0002c00b84ff9735d5afddb7e0b73530e (diff)
beautify
Diffstat (limited to 'moses/ChartTranslationOptionList.cpp')
-rw-r--r--moses/ChartTranslationOptionList.cpp10
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);