1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-17 16:12:53 +08:00

remove other infinity reference

This commit is contained in:
Natelytle 2022-10-28 16:20:21 -04:00
parent 883790c7a7
commit 01c79d8ef2

View File

@ -122,7 +122,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty
if (greatProbability <= 0)
{
return double.PositiveInfinity;
return null;
}
double deviation = attributes.GreatHitWindow / (Math.Sqrt(2) * SpecialFunctions.ErfInv(greatProbability));