diff options
author | Matthias Huck <huck@i6.informatik.rwth-aachen.de> | 2015-02-10 06:12:02 +0300 |
---|---|---|
committer | Matthias Huck <huck@i6.informatik.rwth-aachen.de> | 2015-02-10 06:12:02 +0300 |
commit | 0de206f359f0f7d528ab4bc68a991bdf533ed1b8 (patch) | |
tree | 66e76cef1a1a3448c5def33cab83e3af127a46ff /moses | |
parent | ce80e53b30f766ab85cb58c4a2d06742b4a4f38b (diff) |
fixing a bug from commit 70e8eb5
Diffstat (limited to 'moses')
-rw-r--r-- | moses/Parameter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Parameter.cpp b/moses/Parameter.cpp index c5677b73b..6052624cc 100644 --- a/moses/Parameter.cpp +++ b/moses/Parameter.cpp @@ -978,7 +978,7 @@ void Parameter::WeightOverwrite() for (size_t i = 0; i < toks.size(); ++i) { const string &tok = toks[i]; - if (starts_with(tok, "=")) { + if (ends_with(tok, "=")) { // start of new feature if (name != "") { |