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:
authorDavid Madl <git@abanbytes.eu>2015-11-13 15:45:47 +0300
committerDavid Madl <git@abanbytes.eu>2015-11-17 19:15:13 +0300
commit73ab44c1266bcc076da890993ee4240e2eaf711f (patch)
tree9d060cf4f925ab5c452b7a240b6c31eb38e1534d /moses/Manager.cpp
parentb1ea3d624b638b4b6caf25099f4e1f44f33dae8c (diff)
Hypothesis: get rid of calls into Manager from constructor
Diffstat (limited to 'moses/Manager.cpp')
-rw-r--r--moses/Manager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/moses/Manager.cpp b/moses/Manager.cpp
index 1280adcd6..8d4eedf53 100644
--- a/moses/Manager.cpp
+++ b/moses/Manager.cpp
@@ -1480,6 +1480,7 @@ const Hypothesis *Manager::GetBestHypothesis() const
int Manager::GetNextHypoId()
{
+ GetSentenceStats().AddCreated(); // count created hypotheses
return m_hypoId++;
}