mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Fix test logic and stabilise rounding direction
This commit is contained in:
@ -66,7 +66,7 @@ namespace osu.Game.Screens.Ranking.Statistics
|
||||
|
||||
foreach (var e in hitEvents)
|
||||
{
|
||||
int binOffset = (int)Math.Round(e.TimeOffset / binSize);
|
||||
int binOffset = (int)Math.Round(e.TimeOffset / binSize, MidpointRounding.AwayFromZero);
|
||||
bins[timing_distribution_centre_bin_index + binOffset]++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user