mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Fix potential off-by-one
This commit is contained in:
@ -58,7 +58,7 @@ namespace osu.Game.Screens.Ranking.Statistics
|
||||
return;
|
||||
|
||||
int[] bins = new int[total_timing_distribution_bins];
|
||||
double binSize = hitEvents.Max(e => Math.Abs(e.TimeOffset)) / timing_distribution_bins;
|
||||
double binSize = Math.Ceiling(hitEvents.Max(e => Math.Abs(e.TimeOffset)) / timing_distribution_bins);
|
||||
|
||||
foreach (var e in hitEvents)
|
||||
{
|
||||
|
Reference in New Issue
Block a user