aboutsummaryrefslogtreecommitdiff
path: root/pretyping
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-11-13 02:09:29 +0100
committerPierre-Marie Pédrot2018-11-13 02:09:29 +0100
commit4f67c798274b7832cc681303e51e31df6f92ab19 (patch)
tree07b8ea40a41797129d949da4320694ec9465d01c /pretyping
parent1294e1255f3e29609498ba6620c9c8a7010e3003 (diff)
parent9bd403ec1b6cedf0542e193774a7af52b27c0a1b (diff)
Merge PR #8936: Fix #8908: incorrect refresh of algebraic universes.
Diffstat (limited to 'pretyping')
-rw-r--r--pretyping/evarsolve.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/pretyping/evarsolve.ml b/pretyping/evarsolve.ml
index 96213af9c6..4692fe0057 100644
--- a/pretyping/evarsolve.ml
+++ b/pretyping/evarsolve.ml
@@ -66,9 +66,9 @@ let refresh_universes ?(status=univ_rigid) ?(onlyalg=false) ?(refreshset=false)
if not onlyalg then refresh_sort status ~direction s
else t
| UnivFlexible alg ->
- if onlyalg && alg then
- (evdref := Evd.make_flexible_variable !evdref ~algebraic:false l; t)
- else t))
+ (if alg then
+ evdref := Evd.make_nonalgebraic_variable !evdref l);
+ t))
| Set when refreshset && not direction ->
(* Cannot make a universe "lower" than "Set",
only refreshing when we want higher universes. *)