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-11-09 15:15:22 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-11-09 15:15:22 +0300
commit2978036996852761916c2bf58496bd1f7c8f6b06 (patch)
tree1e633a4134870615e7c3441265a487d3cdd4c16e /moses/ExportInterface.cpp
parent564f57098ab0a77638eb44290f0885a3612a7c1f (diff)
print out num of hypos created before segfaulting
Diffstat (limited to 'moses/ExportInterface.cpp')
-rw-r--r--moses/ExportInterface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/ExportInterface.cpp b/moses/ExportInterface.cpp
index 09a7c03f4..73c5b489c 100644
--- a/moses/ExportInterface.cpp
+++ b/moses/ExportInterface.cpp
@@ -274,12 +274,12 @@ batch_run()
pool.Stop(true); //flush remaining jobs
#endif
+ cerr << "g_numHypos=" << Moses::g_numHypos << endl;
+
FeatureFunction::Destroy();
IFVERBOSE(1) util::PrintUsage(std::cerr);
- cerr << "g_numHypos=" << Moses::g_numHypos << endl;
-
#ifndef EXIT_RETURN
//This avoids that destructors are called (it can take a long time)
exit(EXIT_SUCCESS);