1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-18 03:52:54 +08:00

Fix formatting

This commit is contained in:
Natelytle 2022-10-27 00:07:32 -04:00
parent af919a6550
commit 2940d18d33
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty
[JsonProperty("effective_miss_count")] [JsonProperty("effective_miss_count")]
public double EffectiveMissCount { get; set; } public double EffectiveMissCount { get; set; }
[JsonProperty("estimated_ur")] [JsonProperty("estimated_ur")]
public double EstimatedUR { get; set; } public double EstimatedUR { get; set; }

View File

@ -114,7 +114,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty
{ {
if (totalHits == 0) if (totalHits == 0)
return double.PositiveInfinity; return double.PositiveInfinity;
double greatProbability = 1 - (countOk + countMiss + 1.0) / (totalHits + 1.0); double greatProbability = 1 - (countOk + countMiss + 1.0) / (totalHits + 1.0);
if (greatProbability <= 0) if (greatProbability <= 0)