diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-22 11:36:42 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-22 11:36:42 +0300 |
commit | 6e36500fdc64bb045771e812f913688d498be871 (patch) | |
tree | 5a2f60e96640e747fb90762460cf0c114ced0944 /moses/Hypothesis.cpp | |
parent | 37f7bb687e8cb7b7fdf240cea43041df03532961 (diff) |
delete assert. Bitmap now set in caller
Diffstat (limited to 'moses/Hypothesis.cpp')
-rw-r--r-- | moses/Hypothesis.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/moses/Hypothesis.cpp b/moses/Hypothesis.cpp index 1a20cd79f..847c14f81 100644 --- a/moses/Hypothesis.cpp +++ b/moses/Hypothesis.cpp @@ -93,11 +93,6 @@ Hypothesis(const Hypothesis &prevHypo, const TranslationOption &transOpt, const , m_id(m_manager.GetNextHypoId()) { m_currScoreBreakdown.PlusEquals(transOpt.GetScoreBreakdown()); - - // assert that we are not extending our hypothesis by retranslating something - // that this hypothesis has already translated! - assert(!m_sourceCompleted.Overlap(m_currSourceWordsRange)); - m_wordDeleted = transOpt.IsDeletionOption(); m_manager.GetSentenceStats().AddCreated(); } |