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:
authorHieu Hoang <hieuhoang@gmail.com>2015-10-19 20:11:33 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-10-19 20:11:33 +0300
commit4e691e496903dab2d04cadd3488a77118cc230bd (patch)
tree0572c67b8ceefa736077f844276a742e96d3ddc1 /moses/HypothesisStackCubePruning.h
parent411d0ae0032af1672311b79289d4aeabb68b6dcb (diff)
reuse bitmap key for BitmapContainer
Diffstat (limited to 'moses/HypothesisStackCubePruning.h')
-rw-r--r--moses/HypothesisStackCubePruning.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/HypothesisStackCubePruning.h b/moses/HypothesisStackCubePruning.h
index 8b870b298..5be283be7 100644
--- a/moses/HypothesisStackCubePruning.h
+++ b/moses/HypothesisStackCubePruning.h
@@ -37,7 +37,7 @@ class BitmapContainer;
class TranslationOptionList;
class Manager;
-typedef boost::unordered_map<WordsBitmap, BitmapContainer*, UnorderedComparer<WordsBitmap>, UnorderedComparer<WordsBitmap> > _BMType;
+typedef boost::unordered_map<const WordsBitmap*, BitmapContainer*, UnorderedComparer<WordsBitmap>, UnorderedComparer<WordsBitmap> > _BMType;
/** A stack for phrase-based decoding with cube-pruning. */
class HypothesisStackCubePruning : public HypothesisStack