Merge branch 'master' of git://github.com/moses-smt/mosesdecoder

This commit is contained in:
Matthias Huck 2015-01-07 18:41:36 +00:00
commit 3e1ddaf719

View File

@ -465,7 +465,8 @@ FFState* BilingualLM::EvaluateWhenApplied(
}
size_t new_state = getStateChart(neuralLMids);
accumulator->Assign(this, value);
accumulator->PlusEquals(this, -accumulator->GetScoreForProducer(this));
accumulator->PlusEquals(this, value);
return new BilingualLMState(new_state, alignments, neuralLMids);
}