aboutsummaryrefslogtreecommitdiff
path: root/kernel/reduction.ml
diff options
context:
space:
mode:
authorMatthieu Sozeau2013-10-30 19:28:55 +0100
committerMatthieu Sozeau2014-05-06 09:58:54 +0200
commit1c1accf7186438228be9c426db9071aa95a7e992 (patch)
tree67fae89d05072db6249fdf59325d3691a09dbea6 /kernel/reduction.ml
parent001ff72b2c17fb7b2fcaefa2555c115f0d909a03 (diff)
Properly reinstate old-style polymorphism in the kernel and pretyping/retyping.
TODO fix interface on knowing_parameters to avoid useless array allocations.
Diffstat (limited to 'kernel/reduction.ml')
-rw-r--r--kernel/reduction.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/reduction.ml b/kernel/reduction.ml
index 63bd406817..0a89a0bfdb 100644
--- a/kernel/reduction.ml
+++ b/kernel/reduction.ml
@@ -632,7 +632,7 @@ let conv_leq_vecti ?(l2r=false) ?(evars=fun _->None) env v1 v2 =
let infer_conv_universes cv_pb l2r evars reds env univs t1 t2 =
let b =
- if cv_pb = CUMUL then leq_constr_univs univs t1 t2
+ if cv_pb == CUMUL then leq_constr_univs univs t1 t2
else eq_constr_univs univs t1 t2
in
if b then Constraint.empty