fix score transformation

This commit is contained in:
Ales Tamchyna 2015-01-14 11:21:12 +01:00
parent 98625fcc44
commit 91cb549ccf

View File

@ -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);