1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:27:29 +08:00
osu-lazer/osu.Game.Rulesets.Osu/Difficulty
Dan Balasescu 5f350aa66f Fix float division
Firstly, this is intended to be a float division.

Secondly, dividing integers by 0 results in an exception, but dividing
non-zero floats by 0 results in +/- infinity which will be clamped to
the upper range.
In particular, this occurs when the beatmap has 1 hitobject (0 drain
length).
2023-06-27 17:14:35 +09:00
..
Evaluators Fix remaining obvious CI inspections 2023-06-24 16:07:01 +02:00
Preprocessing Manual fixes to reduce warnings to zero 2023-06-24 01:52:53 +09:00
Skills Automated pass 2023-06-24 01:00:03 +09:00
OsuDifficultyAttributes.cs Write max combo attribute from base class 2023-06-02 21:53:25 +09:00
OsuDifficultyCalculator.cs Initial conversion of scores 2023-06-26 22:19:01 +09:00
OsuPerformanceAttributes.cs Automated pass 2023-06-24 01:00:03 +09:00
OsuPerformanceCalculator.cs Automated pass 2023-06-24 01:00:03 +09:00
OsuScoreV1Processor.cs Fix float division 2023-06-27 17:14:35 +09:00