diff options
author | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-12-15 19:42:41 +0300 |
---|---|---|
committer | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-12-15 19:42:41 +0300 |
commit | 4e77665d30224653e4fa1a818e8100a6188fac2d (patch) | |
tree | 2412ccb40527226e03ff9503826a2c99f5189406 /moses/StaticData.h | |
parent | e4eb201c52be74fee74399a6f35fcbe8eb85d834 (diff) | |
parent | dfd6cd2dd7fb2451b899c0ee84172d2e4e291f77 (diff) |
better handling of cache-based models with inconsistent parametersdynamic-models
Diffstat (limited to 'moses/StaticData.h')
-rw-r--r-- | moses/StaticData.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/StaticData.h b/moses/StaticData.h index 8d399bfb2..8c396e1c4 100644 --- a/moses/StaticData.h +++ b/moses/StaticData.h @@ -436,7 +436,7 @@ public: return m_searchAlgorithm; } bool IsChart() const { - return m_searchAlgorithm == ChartDecoding || m_searchAlgorithm == ChartIncremental; + return m_searchAlgorithm == CYKPlus || m_searchAlgorithm == ChartIncremental; } const ScoreComponentCollection& GetAllWeights() const { |