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>2013-11-19 17:19:23 +0400
committerHieu Hoang <hieuhoang@gmail.com>2013-11-19 17:19:23 +0400
commitc2c86ce50d1900db55e420dd08f38facfce50501 (patch)
tree85ca7cb5d2445dd60cd96325945e14a9626c50b7 /moses/ChartTranslationOptions.cpp
parent90d115496515c7f6e1383c19694bb91e21fdcbe9 (diff)
replace CHECK with UTIL_THROW_IF in Moses
Diffstat (limited to 'moses/ChartTranslationOptions.cpp')
-rw-r--r--moses/ChartTranslationOptions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/ChartTranslationOptions.cpp b/moses/ChartTranslationOptions.cpp
index e31667d37..66d1fed7f 100644
--- a/moses/ChartTranslationOptions.cpp
+++ b/moses/ChartTranslationOptions.cpp
@@ -100,7 +100,7 @@ void ChartTranslationOptions::CreateSourceRuleFromInputPath()
}
const InputPath *inputPath = m_collection.front()->GetInputPath();
- CHECK(inputPath);
+ assert(inputPath);
std::vector<const Word*> &ruleSourceFromInputPath = inputPath->AddRuleSourceFromInputPath();
size_t chartCellIndex = 0;