diff options
author | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2015-04-18 18:53:57 +0300 |
---|---|---|
committer | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2015-04-18 18:53:57 +0300 |
commit | 28d9e55379d54bd81c1b0c2246082a9a63b1b888 (patch) | |
tree | ea3a18caf75f2255b0584175c17e1616d762c17e /moses/TranslationModel | |
parent | e028eb78472a4e240f99f0a5db84e9de6fe37045 (diff) |
Bug fix.
Diffstat (limited to 'moses/TranslationModel')
-rw-r--r-- | moses/TranslationModel/UG/mmsapt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/TranslationModel/UG/mmsapt.cpp b/moses/TranslationModel/UG/mmsapt.cpp index 124f972bd..d24f571b3 100644 --- a/moses/TranslationModel/UG/mmsapt.cpp +++ b/moses/TranslationModel/UG/mmsapt.cpp @@ -152,7 +152,7 @@ namespace Moses input_factor = atoi(param.insert(dflt).first->second.c_str()); // shouldn't that be a string? - pair<string,string> dflt("output-factor","0"); + dflt = pair<string,string> ("output-factor","0"); output_factor = atoi(param.insert(dflt).first->second.c_str()); ofactor.assign(1,output_factor); |