diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-26 12:20:08 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-26 12:20:08 +0300 |
commit | 52f4086dbc5b5621600d07c3edf9dbca2e8cd38e (patch) | |
tree | ee6594d8438364e6e2663eda02bbc6153b13d700 /moses/Bitmaps.cpp | |
parent | 486990fa3f8ed3150fe40f33f81c3c5ee2ccdd47 (diff) |
move m_bitmaps into Search class. Cube pruning uses it too
Diffstat (limited to 'moses/Bitmaps.cpp')
-rw-r--r-- | moses/Bitmaps.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/moses/Bitmaps.cpp b/moses/Bitmaps.cpp index e6be28cd2..a8302cb17 100644 --- a/moses/Bitmaps.cpp +++ b/moses/Bitmaps.cpp @@ -22,8 +22,7 @@ Bitmaps::~Bitmaps() const Bitmap &Bitmaps::GetNextBitmap(const Bitmap &bm, const Range &range) { - Bitmap *newBM = new Bitmap(bm); - newBM->SetValue(range, true); + Bitmap *newBM = new Bitmap(bm, range); Coll::const_iterator iter = m_coll.find(newBM); if (iter == m_coll.end()) { |