diff options
author | David Madl <git@abanbytes.eu> | 2015-11-13 15:45:47 +0300 |
---|---|---|
committer | David Madl <git@abanbytes.eu> | 2015-11-17 19:15:13 +0300 |
commit | 73ab44c1266bcc076da890993ee4240e2eaf711f (patch) | |
tree | 9d060cf4f925ab5c452b7a240b6c31eb38e1534d /moses/Manager.cpp | |
parent | b1ea3d624b638b4b6caf25099f4e1f44f33dae8c (diff) |
Hypothesis: get rid of calls into Manager from constructor
Diffstat (limited to 'moses/Manager.cpp')
-rw-r--r-- | moses/Manager.cpp | 1 |
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++; } |