mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-30 23:42:30 +03:00
Fix score should have been +=
This commit is contained in:
parent
0378a58a37
commit
3cc4d04959
@ -97,7 +97,7 @@ template <class Model> PartialEdge EdgeGenerator::Pop(Context<Model> &context, P
|
||||
|
||||
if (split) {
|
||||
// We have an alternate.
|
||||
top.SetScore(top_nt[victim].Bound() - old_bound);
|
||||
top.SetScore(top.GetScore() + top_nt[victim].Bound() - old_bound);
|
||||
// TODO: dedupe?
|
||||
generate_.push(top);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user