diff options
| author | Gaëtan Gilbert | 2019-06-07 10:54:14 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2019-12-12 15:48:52 +0100 |
| commit | ccae6b2053970a0bd587bb48c2d30fc235de4118 (patch) | |
| tree | 3bba40ecbcb0b770340b64c16c80056644eea902 /engine | |
| parent | dd47dfc29f4b38dd2b1745ecbf452c3cd459b89b (diff) | |
restrict minimization to set to flexibles
Split from #10331
Fix part of #8196
Replaces #9343
Diffstat (limited to 'engine')
| -rw-r--r-- | engine/univMinim.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/univMinim.ml b/engine/univMinim.ml index 30fdd28997..fc0770cf75 100644 --- a/engine/univMinim.ml +++ b/engine/univMinim.ml @@ -276,7 +276,7 @@ let normalize_context_set ~lbound g ctx us algs weak = Constraint.partition (fun (l,d,r) -> d == Le && (Level.equal l lbound || Level.is_sprop l)) csts in let smallles = if get_set_minimization () - then Constraint.filter (fun (l,d,r) -> LSet.mem r ctx && not (Level.is_sprop l)) smallles + then Constraint.filter (fun (l,d,r) -> LMap.mem r us && not (Level.is_sprop l)) smallles else Constraint.empty in let csts, partition = |
