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/BitmapContainer.cpp | |
parent | b1ea3d624b638b4b6caf25099f4e1f44f33dae8c (diff) |
Hypothesis: get rid of calls into Manager from constructor
Diffstat (limited to 'moses/BitmapContainer.cpp')
-rw-r--r-- | moses/BitmapContainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/BitmapContainer.cpp b/moses/BitmapContainer.cpp index 718003a6f..64a607045 100644 --- a/moses/BitmapContainer.cpp +++ b/moses/BitmapContainer.cpp @@ -224,7 +224,7 @@ Hypothesis *BackwardsEdge::CreateHypothesis(const Hypothesis &hypothesis, const hypothesis.GetManager().GetSentenceStats().StartTimeBuildHyp(); } const Bitmap &bitmap = m_parent.GetWordsBitmap(); - Hypothesis *newHypo = new Hypothesis(hypothesis, transOpt, bitmap); + Hypothesis *newHypo = new Hypothesis(hypothesis, transOpt, bitmap, hypothesis.GetManager().GetNextHypoId()); IFVERBOSE(2) { hypothesis.GetManager().GetSentenceStats().StopTimeBuildHyp(); } |