diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-04-27 21:41:47 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-04-27 21:41:47 +0300 |
commit | 0ee4feecb5d4deae35ac217d82bd3c57722619e4 (patch) | |
tree | 6a3f365d34077e2d4e45e4f1dcea3e17c18f119a /moses/ChartCellCollection.cpp | |
parent | 315610c02aa9455bbaf1cb3540313db5a2100b7a (diff) |
add extra parser argument to ChartCellCollection to support FF::EvaluateGivenAllOtherTransOpts()
Diffstat (limited to 'moses/ChartCellCollection.cpp')
-rw-r--r-- | moses/ChartCellCollection.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/ChartCellCollection.cpp b/moses/ChartCellCollection.cpp index 46392261d..55c50a449 100644 --- a/moses/ChartCellCollection.cpp +++ b/moses/ChartCellCollection.cpp @@ -22,6 +22,7 @@ #include "ChartCellCollection.h" #include "InputType.h" #include "WordsRange.h" +#include "ChartManager.h" namespace Moses { @@ -51,7 +52,7 @@ private: \param manager reference back to the manager */ ChartCellCollection::ChartCellCollection(const InputType &input, ChartManager &manager) - :ChartCellCollectionBase(input, CubeCellFactory(manager)) {} + :ChartCellCollectionBase(input, CubeCellFactory(manager), manager.GetParser()) {} } // namespace |