diff options
author | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-01-15 19:49:57 +0400 |
---|---|---|
committer | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-01-15 19:49:57 +0400 |
commit | e452a13062400b09ff95af971c1424ac34cf1930 (patch) | |
tree | 11b52a2f1228f4e64fb31d061d7e564970140fd7 /moses/TranslationModel/CYKPlusParser/ChartRuleLookupManagerMemory.cpp | |
parent | bd83999264407dd7970736ee3e70a6b39fb19014 (diff) |
beautify
Diffstat (limited to 'moses/TranslationModel/CYKPlusParser/ChartRuleLookupManagerMemory.cpp')
-rw-r--r-- | moses/TranslationModel/CYKPlusParser/ChartRuleLookupManagerMemory.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/TranslationModel/CYKPlusParser/ChartRuleLookupManagerMemory.cpp b/moses/TranslationModel/CYKPlusParser/ChartRuleLookupManagerMemory.cpp index 64d3d87b4..ad6773fc8 100644 --- a/moses/TranslationModel/CYKPlusParser/ChartRuleLookupManagerMemory.cpp +++ b/moses/TranslationModel/CYKPlusParser/ChartRuleLookupManagerMemory.cpp @@ -42,7 +42,7 @@ ChartRuleLookupManagerMemory::ChartRuleLookupManagerMemory( , m_ruleTable(ruleTable) { UTIL_THROW_IF2(m_dottedRuleColls.size() != 0, - "Dotted rule collection not correctly initialized"); + "Dotted rule collection not correctly initialized"); size_t sourceSize = parser.GetSize(); m_dottedRuleColls.resize(sourceSize); @@ -179,8 +179,8 @@ void ChartRuleLookupManagerMemory::GetChartRuleCollection( dottedRuleCol.Add(relEndPos+1, dottedRule); } } - // we only need to check once if a terminal matches the input at a given position. - expandableDottedRuleListTerminalsOnly.erase(it); + // we only need to check once if a terminal matches the input at a given position. + expandableDottedRuleListTerminalsOnly.erase(it); } // list of rules that that cover the entire span |