diff options
author | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-01-15 19:42:02 +0400 |
---|---|---|
committer | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-01-15 19:42:02 +0400 |
commit | bd83999264407dd7970736ee3e70a6b39fb19014 (patch) | |
tree | 1a0a0d9bab2b8caf853c301187beb637b0a1af61 /moses/ChartHypothesisCollection.cpp | |
parent | a098550f33dd1eead0e72a98a4822ce924841550 (diff) |
beautify
Diffstat (limited to 'moses/ChartHypothesisCollection.cpp')
-rw-r--r-- | moses/ChartHypothesisCollection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/ChartHypothesisCollection.cpp b/moses/ChartHypothesisCollection.cpp index 8a4a48a29..ec2cc7802 100644 --- a/moses/ChartHypothesisCollection.cpp +++ b/moses/ChartHypothesisCollection.cpp @@ -89,7 +89,7 @@ bool ChartHypothesisCollection::AddHypothesis(ChartHypothesis *hypo, ChartManage HCType::iterator &iterExisting = addRet.first; ChartHypothesis *hypoExisting = *iterExisting; UTIL_THROW_IF2(iterExisting == m_hypos.end(), - "Adding a hypothesis should have returned a valid iterator"); + "Adding a hypothesis should have returned a valid iterator"); //StaticData::Instance().GetSentenceStats().AddRecombination(*hypo, **iterExisting); @@ -253,7 +253,7 @@ void ChartHypothesisCollection::PruneToSize(ChartManager &manager) ChartHypothesis *hypo = *iter; HCType::iterator iterFindHypo = m_hypos.find(hypo); UTIL_THROW_IF2(iterFindHypo == m_hypos.end(), - "Adding a hypothesis should have returned a valid iterator"); + "Adding a hypothesis should have returned a valid iterator"); Remove(iterFindHypo); } |