Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Germann <Ulrich.Germann@gmail.com>2016-02-06 18:19:44 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2016-02-06 18:19:44 +0300
commit105225d398467310394324e4cf914c83a4bfd9ef (patch)
tree8f758d159f49446416745a2d808998a04c5404a3 /moses/TranslationModel
parentf03d69792d14dc45d250ce9f48201bd7ae2f233b (diff)
Bug fix.
Diffstat (limited to 'moses/TranslationModel')
-rw-r--r--moses/TranslationModel/UG/sapt_pscore_logcnt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/TranslationModel/UG/sapt_pscore_logcnt.h b/moses/TranslationModel/UG/sapt_pscore_logcnt.h
index d079a0af8..592d86866 100644
--- a/moses/TranslationModel/UG/sapt_pscore_logcnt.h
+++ b/moses/TranslationModel/UG/sapt_pscore_logcnt.h
@@ -56,7 +56,7 @@ namespace sapt {
if (m_specs.find("j") != std::string::npos)
(*dest)[i++] = log(pp.joint);
if (m_specs.find("r2") != std::string::npos)
- (*dest)[++i] = log(pp.raw2);
+ (*dest)[i] = log(pp.raw2);
}
};
} // namespace sapt