diff options
| author | Gaëtan Gilbert | 2018-11-07 15:25:59 +0100 |
|---|---|---|
| committer | Gaëtan Gilbert | 2018-11-12 09:58:39 +0100 |
| commit | 9bd403ec1b6cedf0542e193774a7af52b27c0a1b (patch) | |
| tree | f486e4f160724b17d1843755ae86fc0125ff192f /engine/uState.ml | |
| parent | 186d67228018a84a93de024971356249ddbde668 (diff) | |
Fix #8908: incorrect refresh of algebraic universes.
Diffstat (limited to 'engine/uState.ml')
| -rw-r--r-- | engine/uState.ml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/uState.ml b/engine/uState.ml index 41905feab7..dc760e7f97 100644 --- a/engine/uState.ml +++ b/engine/uState.ml @@ -577,6 +577,9 @@ let make_flexible_variable ctx ~algebraic u = {ctx with uctx_univ_variables = uvars'; uctx_univ_algebraic = avars'} +let make_nonalgebraic_variable ctx u = + { ctx with uctx_univ_algebraic = Univ.LSet.remove u ctx.uctx_univ_algebraic } + let make_flexible_nonalgebraic ctx = {ctx with uctx_univ_algebraic = Univ.LSet.empty} |
