fix taiko regression
This commit is contained in:
1 parent
56882c5ff8
commit
6b6a7e1a0e
1 file changed
+1
-1
@@ -78,7 +78,7 @@ impl Peaks {
|
||||
let mut difficulty = 0.0;
|
||||
let mut weight = 1.0;
|
||||
|
||||
peaks.sort_by(f64::total_cmp);
|
||||
peaks.sort_by(|a, b| b.total_cmp(a));
|
||||
|
||||
for strain in peaks {
|
||||
difficulty += strain * weight;
|
||||
|
||||
Reference in new issue
Block a user