This commit is contained in:
James
2022-11-25 20:29:01 +00:00
committed by GitHub
parent 2ec33ac355
commit 5d116b043f
+1 -1
View File
@@ -551,7 +551,7 @@ impl<'m> OsuPP<'m> {
fn calculate_miss_penalty(&self, strain_count: f32, effective_miss_count: f32) -> f32 {
let total_hits = self.total_hits() as f32;
0.97 * (1.0 - (effective_miss_count / total_hits).powf(0.5)).powf(1.0 + (effective_miss_count / 2.0))
0.97 * (1.0 - (effective_miss_count / total_hits).powf(0.5)).powf(1.0 + (effective_miss_count / 1.5))
}
#[inline]