rescale misses

This commit is contained in:
James
2022-11-25 20:23:29 +00:00
committed by GitHub
parent 27623ce27e
commit 2ec33ac355
+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(effective_miss_count)
0.97 * (1.0 - (effective_miss_count / total_hits).powf(0.5)).powf(1.0 + (effective_miss_count / 2.0))
}
#[inline]