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 <hieu@hoang.co.uk>2014-01-13 22:32:22 +0400
committerHieu Hoang <hieu@hoang.co.uk>2014-01-13 22:32:22 +0400
commitfccf2ea43a7ff0846dbb1bf77df32b7d85186e63 (patch)
tree97f95116d5e0ad2263fe3b03b93d1c0295554c6c /moses/HypothesisStackNormal.cpp
parentb5558c36b85177bf282cb88edd3b899872b7a9b9 (diff)
get rid of all aborts from decoder
Diffstat (limited to 'moses/HypothesisStackNormal.cpp')
-rw-r--r--moses/HypothesisStackNormal.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/moses/HypothesisStackNormal.cpp b/moses/HypothesisStackNormal.cpp
index 8e9dd6cfa..b1ca49583 100644
--- a/moses/HypothesisStackNormal.cpp
+++ b/moses/HypothesisStackNormal.cpp
@@ -136,8 +136,7 @@ bool HypothesisStackNormal::AddPrune(Hypothesis *hypo)
bool added = Add(hypo).second;
if (!added) {
iterExisting = m_hypos.find(hypo);
- TRACE_ERR("Offending hypo = " << **iterExisting << endl);
- abort();
+ UTIL_THROW2("Offending hypo = " << **iterExisting);
}
return false;
} else {