Skip to content
Snippets Groups Projects
Commit 732ccd6d authored by Marius Renner's avatar Marius Renner Committed by Daniel Gerhardt
Browse files

Fix rounding error in ScoreBasedScoreCalculator

Cast int to double before division to avoid truncation of the division
result. Changed corresponding test so that it fails with the old
implementation.

Cherry-picked and backported from GH-52.
parent 6ce682b8
Pipeline #17574 passed with stages
in 1 minute and 52 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment