Skip to content

Commit f934db1

Browse files
committed
fix: compat with OCaml 5.4
close #477
1 parent 14ad8c1 commit f934db1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/CCArray.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ let sort_indices cmp a =
9393
Array.sort (fun k1 k2 -> cmp a.(k1) a.(k2)) b;
9494
b
9595

96-
let sort_ranking cmp a = sort_indices compare (sort_indices cmp a)
96+
let sort_ranking cmp a = sort_indices CCInt.compare (sort_indices cmp a)
9797

9898
let rev a =
9999
let b = Array.copy a in

0 commit comments

Comments
 (0)