pass double points received from score correction provider on to backend instead of coercing to int

This commit is contained in:
Axel Uhl committed 2012-07-19 23:52:32 +02:00
1 parent 5dc814925b
commit 24de5865fb
1 file changed
+1 -1
@@ -258,7 +258,7 @@ public class MatchAndApplyScoreCorrectionsDialog extends DataEntryDialog<BulkSco
if (officialCorrectionEntry.getScore() != null) {
double officialTotalPoints = officialCorrectionEntry.getScore().doubleValue();
double officialNetPoints = raceColumn.isMedalRace() ? officialTotalPoints / MEDAL_RACE_FACTOR : officialTotalPoints;
result.addScoreUpdate(competitor, raceColumn, (int) Math.round(officialNetPoints));
result.addScoreUpdate(competitor, raceColumn, officialNetPoints);
}
}
}