aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping
diff options
context:
space:
mode:
authorGravatar Matthieu Sozeau <matthieu.sozeau@inria.fr>2017-02-21 12:56:28 +0100
committerGravatar Matthieu Sozeau <mattam@mattam.org>2017-06-05 20:53:14 +0200
commit36f3ae391ee188edb9d858d8832d7fd611db0482 (patch)
tree781f6cdb17e10f06eea44552b44ce80329f792f5 /pretyping
parente8137ae63b3b19436755f372b595e7343e942894 (diff)
Univs: fix bug #5365, generation of u+k <= v constraints
Use an explicit label ~algebraic for make_flexible_variable as well.
Diffstat (limited to 'pretyping')
-rw-r--r--pretyping/evarsolve.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pretyping/evarsolve.ml b/pretyping/evarsolve.ml
index 4fd030845..e8380136e 100644
--- a/pretyping/evarsolve.ml
+++ b/pretyping/evarsolve.ml
@@ -67,7 +67,7 @@ let refresh_universes ?(status=univ_rigid) ?(onlyalg=false) ?(refreshset=false)
else t
| UnivFlexible alg ->
if onlyalg && alg then
- (evdref := Evd.make_flexible_variable !evdref false l; t)
+ (evdref := Evd.make_flexible_variable !evdref ~algebraic:false l; t)
else t))
| Sort (Prop Pos as s) when refreshset && not direction ->
(* Cannot make a universe "lower" than "Set",