3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-19 09:40:20 +00:00

make get_consequence call skip check-sat if a model is already there

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-12-30 18:05:19 -08:00
parent 8dde60f634
commit a4d5c4a00a
3 changed files with 15 additions and 3 deletions

View file

@ -257,7 +257,7 @@ public:
r = internalize_vars(vars, bvars);
r = m_solver.get_consequences(m_asms, bvars, lconseq);
if (r != l_true) return r;
if (r == l_false) return r;
// build map from bound variables to
// the consequences that cover them.