diff options
Diffstat (limited to 'moses/TranslationModel/ProbingPT/querying.cpp')
-rw-r--r-- | moses/TranslationModel/ProbingPT/querying.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/moses/TranslationModel/ProbingPT/querying.cpp b/moses/TranslationModel/ProbingPT/querying.cpp index 3810c7cf3..10c35e361 100644 --- a/moses/TranslationModel/ProbingPT/querying.cpp +++ b/moses/TranslationModel/ProbingPT/querying.cpp @@ -43,10 +43,9 @@ QueryEngine::QueryEngine(const char * filepath) found = Get(keyValue, "API_VERSION", version); if (!found) { std::cerr << "Old or corrupted version of ProbingPT. Please rebinarize your phrase tables." << std::endl; - } - else if (version != API_VERSION) { + } else if (version != API_VERSION) { std::cerr << "The ProbingPT API has changed. " << version << "!=" - << API_VERSION << " Please rebinarize your phrase tables." << std::endl; + << API_VERSION << " Please rebinarize your phrase tables." << std::endl; exit(EXIT_FAILURE); } |