mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 13:23:25 +03:00
fix score transformation
This commit is contained in:
parent
98625fcc44
commit
91cb549ccf
@ -138,7 +138,7 @@ public:
|
||||
TranslationOption &transOpt = **iterTransOpt;
|
||||
|
||||
std::vector<float> newScores(m_numScoreComponents);
|
||||
newScores[0] = TransformScore(FloorScore(*iterLoss));
|
||||
newScores[0] = FloorScore(TransformScore(*iterLoss));
|
||||
|
||||
ScoreComponentCollection &scoreBreakDown = transOpt.GetScoreBreakdown();
|
||||
scoreBreakDown.PlusEquals(this, newScores);
|
||||
|
Loading…
Reference in New Issue
Block a user