Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbin committed Feb 19, 2024
1 parent ad7dca0 commit ef44da3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/provider.ml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ module Interface = struct
in
match classes with
| [] -> [||]
| hd :: tl -> Array.of_list (hd :: hd :: tl)
| hd :: _ ->
(* We initialize the cache arbitrarily with the left most class. *)
Array.of_list (hd :: classes)
;;

let same_class_uids : type a tags1 tags2. (a, tags1) t -> (a, tags2) t -> bool =
Expand Down

0 comments on commit ef44da3

Please sign in to comment.