diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-08-07 14:27:42 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-08-07 14:27:42 +0300 |
commit | e85aa7e9327d294f44c6654bb9ee95e15e3f7d0c (patch) | |
tree | 9cc5e857bf2b0b825acb86707b65c3aca79d9b5a /moses/ConfusionNet.cpp | |
parent | 36427beb2faf4e45d37a10ff8707ef4a2a604aa6 (diff) |
Post-merge bug fixes and cleanup.
Diffstat (limited to 'moses/ConfusionNet.cpp')
-rw-r--r-- | moses/ConfusionNet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/ConfusionNet.cpp b/moses/ConfusionNet.cpp index d9f92cd47..225f3034f 100644 --- a/moses/ConfusionNet.cpp +++ b/moses/ConfusionNet.cpp @@ -67,7 +67,7 @@ ConfusionNet() : InputType() stats.createOne(); const StaticData& SD = StaticData::Instance(); - if (is_syntax(SD.GetSearchAlgorithm())) { + if (SD.IsSyntax()) { m_defaultLabelSet.insert(SD.GetInputDefaultNonTerminal()); } UTIL_THROW_IF2(&InputFeature::Instance() == NULL, "Input feature must be specified"); |