Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…1301) Fix a bug found while working on PR #1291. More precisely, the following script: ```ocaml Options.set_interpretation ILast; Options.set_debug_optimize true; let x = Expr.mk_term (Symbols.name ~ns:User "x") [] Ty.Tint in let gf = mk_gf Expr.Ints.(x <= ~$10) in let env = SAT.empty () in SAT.declare env (Hstring.make "x", [], Ty.Tint); SAT.assume env gf Explanation.empty; SAT.optimize env (Objective.Function.mk ~is_max:true x); check_sat env; SAT.assume env gf Explanation.empty; (* Should raise Unsat *) check_sat env ``` did not raise unsat at the last `SAT.assume` but it should do it before merging #1291.
- Loading branch information