diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-20 03:15:15 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-20 03:15:15 +0300 |
commit | 3d8e5fa79e1577141f0540162519541bea5fe295 (patch) | |
tree | 8286eb8feec0dc497c86a21605d43cfdf8fb260e /moses/BitmapContainer.cpp | |
parent | b5f0758ee453fa351980a2d52375bf1cc1f66c32 (diff) |
use Bitmap& in Hypothesis
Diffstat (limited to 'moses/BitmapContainer.cpp')
-rw-r--r-- | moses/BitmapContainer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/BitmapContainer.cpp b/moses/BitmapContainer.cpp index 0c75571a3..00e3cb6fb 100644 --- a/moses/BitmapContainer.cpp +++ b/moses/BitmapContainer.cpp @@ -211,7 +211,8 @@ Hypothesis *BackwardsEdge::CreateHypothesis(const Hypothesis &hypothesis, const IFVERBOSE(2) { hypothesis.GetManager().GetSentenceStats().StartTimeBuildHyp(); } - Hypothesis *newHypo = new Hypothesis(hypothesis, transOpt); + const WordsBitmap &bitmap = m_parent.GetWordsBitmap(); + Hypothesis *newHypo = new Hypothesis(hypothesis, transOpt, bitmap); IFVERBOSE(2) { hypothesis.GetManager().GetSentenceStats().StopTimeBuildHyp(); } |