diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2013-11-19 17:19:23 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2013-11-19 17:19:23 +0400 |
commit | c2c86ce50d1900db55e420dd08f38facfce50501 (patch) | |
tree | 85ca7cb5d2445dd60cd96325945e14a9626c50b7 /moses/HypothesisStackNormal.cpp | |
parent | 90d115496515c7f6e1383c19694bb91e21fdcbe9 (diff) |
replace CHECK with UTIL_THROW_IF in Moses
Diffstat (limited to 'moses/HypothesisStackNormal.cpp')
-rw-r--r-- | moses/HypothesisStackNormal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/HypothesisStackNormal.cpp b/moses/HypothesisStackNormal.cpp index 559035e18..915d1e38d 100644 --- a/moses/HypothesisStackNormal.cpp +++ b/moses/HypothesisStackNormal.cpp @@ -116,7 +116,7 @@ bool HypothesisStackNormal::AddPrune(Hypothesis *hypo) // equiv hypo exists, recombine with other hypo iterator &iterExisting = addRet.first; Hypothesis *hypoExisting = *iterExisting; - CHECK(iterExisting != m_hypos.end()); + assert(iterExisting != m_hypos.end()); m_manager.GetSentenceStats().AddRecombination(*hypo, **iterExisting); |