aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/lib.ml
diff options
context:
space:
mode:
Diffstat (limited to 'library/lib.ml')
-rw-r--r--library/lib.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/lib.ml b/library/lib.ml
index 688df5a0e..212e23578 100644
--- a/library/lib.ml
+++ b/library/lib.ml
@@ -452,7 +452,7 @@ let section_segment_of_mutual_inductive kn =
let rec list_mem_assoc x = function
| [] -> raise Not_found
- | (a,_)::l -> compare a x = 0 or list_mem_assoc x l
+ | (a, _) :: l -> Int.equal (Names.id_ord a x) 0 || list_mem_assoc x l
let section_instance = function
| VarRef id ->