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:
Diffstat (limited to 'OnDiskPt/Main.cpp')
-rw-r--r--OnDiskPt/Main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/OnDiskPt/Main.cpp b/OnDiskPt/Main.cpp
index c3cda2a75..df01160e9 100644
--- a/OnDiskPt/Main.cpp
+++ b/OnDiskPt/Main.cpp
@@ -62,8 +62,7 @@ int main (int argc, char * const argv[])
Moses::InputFileStream inStream(filePath);
OnDiskWrapper onDiskWrapper;
- bool retDb = onDiskWrapper.BeginSave(destPath, numSourceFactors, numTargetFactors, numScores);
- assert(retDb);
+ onDiskWrapper.BeginSave(destPath, numSourceFactors, numTargetFactors, numScores);
PhraseNode &rootNode = onDiskWrapper.GetRootSourceNode();
size_t lineNum = 0;