1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 15:17:44 +08:00

InspectCode

This commit is contained in:
StanR 2024-07-15 22:54:25 +05:00
parent e25642b484
commit 67cb4a2d02

View File

@ -172,6 +172,6 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Evaluators
return Math.Sqrt(4 + rhythmComplexitySum * rhythm_multiplier) / 2; //produces multiplier that can be applied to strain. range [1, infinity) (not really though)
}
private static double logistic(double x, double maxValue, double multiplier, double offset) => (maxValue / (1 + Math.Pow(Math.E, offset - multiplier * x)));
private static double logistic(double x, double maxValue, double multiplier, double offset) => (maxValue / (1 + Math.Pow(Math.E, offset - (multiplier * x))));
}
}