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:
authorHieu Hoang <hieuhoang@gmail.com>2015-10-22 11:36:42 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-10-22 11:36:42 +0300
commit6e36500fdc64bb045771e812f913688d498be871 (patch)
tree5a2f60e96640e747fb90762460cf0c114ced0944 /moses/Hypothesis.cpp
parent37f7bb687e8cb7b7fdf240cea43041df03532961 (diff)
delete assert. Bitmap now set in caller
Diffstat (limited to 'moses/Hypothesis.cpp')
-rw-r--r--moses/Hypothesis.cpp5
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();
}