diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-12-11 20:29:10 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-12-11 20:29:10 +0300 |
commit | e5d3306519a43dc02a85cbf2e8e67e3699bf91b8 (patch) | |
tree | a8dfaa1bf86781df1c06e624a967dba9301166d4 /moses/SearchNormal.cpp | |
parent | 51d21b09c0c59b2449cce2ba2f524cd3dc5ff9b1 (diff) | |
parent | 40ed3df9cb513681569a2fcde32a5215c38253f3 (diff) |
Merge ../mosesdecoder into perf_moses2
Diffstat (limited to 'moses/SearchNormal.cpp')
-rw-r--r-- | moses/SearchNormal.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/moses/SearchNormal.cpp b/moses/SearchNormal.cpp index bb798c061..7bd89a7f2 100644 --- a/moses/SearchNormal.cpp +++ b/moses/SearchNormal.cpp @@ -16,10 +16,9 @@ namespace Moses * /param transOptColl collection of translation options to be used for this sentence */ SearchNormal:: -SearchNormal(Manager& manager, const InputType &source, - const TranslationOptionCollection &transOptColl) - : Search(manager, source) - , m_hypoStackColl(source.GetSize() + 1) +SearchNormal(Manager& manager, const TranslationOptionCollection &transOptColl) + : Search(manager) + , m_hypoStackColl(manager.GetSource().GetSize() + 1) , m_transOptColl(transOptColl) { VERBOSE(1, "Translating: " << m_source << endl); |