This commit is contained in:
James
2022-11-25 18:55:01 +00:00
committed by GitHub
parent 17c4cfc69a
commit f4eb268346
+1 -1
View File
@@ -549,7 +549,7 @@ impl<'m> OsuPP<'m> {
#[inline]
fn calculate_miss_penalty(&self, strain_count: f32, effective_miss_count: f32) -> f32 {
1.0 - (1.0 - ((0.1 * (strain_count.sqrt() / 2)).powf(effective_miss_count)).powf(1.775))
1.0 - (1.0 - ((0.1 * (strain_count.sqrt() / 2.0)).powf(effective_miss_count)).powf(1.775))
}
#[inline]