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:
Diffstat (limited to 'moses/TranslationModel/CYKPlusParser/DotChartInMemory.h')
-rw-r--r--moses/TranslationModel/CYKPlusParser/DotChartInMemory.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/moses/TranslationModel/CYKPlusParser/DotChartInMemory.h b/moses/TranslationModel/CYKPlusParser/DotChartInMemory.h
index 390d19b5c..a95b5599e 100644
--- a/moses/TranslationModel/CYKPlusParser/DotChartInMemory.h
+++ b/moses/TranslationModel/CYKPlusParser/DotChartInMemory.h
@@ -103,8 +103,7 @@ public:
if (dottedRule->GetLastNode().GetNonTerminalMap().empty() && !dottedRule->IsRoot()) {
size_t startPos = dottedRule->GetWordsRange().GetEndPos() + 1;
m_expandableDottedRuleListTerminalsOnly[startPos].push_back(dottedRule);
- }
- else {
+ } else {
m_expandableDottedRuleList.push_back(dottedRule);
}
}