mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 11:12:54 +08:00
changed pow to exp function
This commit is contained in:
parent
aab3277024
commit
d7483a6c5d
@ -184,7 +184,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
|
||||
public double RelevantNoteCount()
|
||||
{
|
||||
double maxStrain = objectStrains.Max();
|
||||
return objectStrains.Aggregate((total, next) => total + (1.0 / (1.0 + Math.Pow(Math.E, -(next/maxStrain * 12.0 - 6.0)))));
|
||||
return objectStrains.Aggregate((total, next) => total + (1.0 / (1.0 + Math.Exp(-(next/maxStrain * 12.0 - 6.0)))));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user