mirror of
https://github.com/Z3Prover/z3
synced 2026-01-15 07:06:16 +00:00
parent
0b856638e9
commit
426e4cc75c
65 changed files with 135 additions and 146 deletions
|
|
@ -89,7 +89,7 @@ lbool solver::get_consequences(expr_ref_vector const& asms, expr_ref_vector cons
|
|||
return get_consequences_core(asms, vars, consequences);
|
||||
}
|
||||
catch (z3_exception& ex) {
|
||||
if (asms.get_manager().canceled()) {
|
||||
if (!asms.get_manager().inc()) {
|
||||
set_reason_unknown(Z3_CANCELED_MSG);
|
||||
return l_undef;
|
||||
}
|
||||
|
|
@ -335,7 +335,7 @@ lbool solver::check_sat(unsigned num_assumptions, expr * const * assumptions) {
|
|||
}
|
||||
throw;
|
||||
}
|
||||
if (r == l_undef && get_manager().canceled()) {
|
||||
if (r == l_undef && !get_manager().inc()) {
|
||||
dump_state(num_assumptions, assumptions);
|
||||
}
|
||||
return r;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue