aboutsummaryrefslogtreecommitdiff
path: root/kernel/vconv.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-09-22 14:19:20 +0200
committerPierre-Marie Pédrot2020-10-21 12:20:10 +0200
commit0590764209dcb8540b5292aca38fe2df38b90ab9 (patch)
treecede5a6e0a7fabcfd55f7635604493876821afc6 /kernel/vconv.ml
parent2b91a8989687e152f7120aa6c907ffeba8495bab (diff)
Same little game with Projection.
Diffstat (limited to 'kernel/vconv.ml')
-rw-r--r--kernel/vconv.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/vconv.ml b/kernel/vconv.ml
index 948195797e..2de902c827 100644
--- a/kernel/vconv.ml
+++ b/kernel/vconv.ml
@@ -141,7 +141,7 @@ and conv_stack env k stk1 stk2 cu =
conv_stack env k stk1 stk2 !rcu
else raise NotConvertible
| Zproj p1 :: stk1, Zproj p2 :: stk2 ->
- if Projection.Repr.equal p1 p2 then conv_stack env k stk1 stk2 cu
+ if Projection.Repr.CanOrd.equal p1 p2 then conv_stack env k stk1 stk2 cu
else raise NotConvertible
| [], _ | Zapp _ :: _, _ | Zfix _ :: _, _ | Zswitch _ :: _, _
| Zproj _ :: _, _ -> raise NotConvertible