mirror of
https://github.com/Z3Prover/z3
synced 2025-06-07 06:33:23 +00:00
parent
6ecae2b986
commit
da32997f93
1 changed files with 3 additions and 0 deletions
|
@ -1520,6 +1520,9 @@ void cmd_context::check_sat(unsigned num_assumptions, expr * const * assumptions
|
||||||
scoped_rlimit _rlimit(m().limit(), rlimit);
|
scoped_rlimit _rlimit(m().limit(), rlimit);
|
||||||
try {
|
try {
|
||||||
r = m_solver->check_sat(num_assumptions, assumptions);
|
r = m_solver->check_sat(num_assumptions, assumptions);
|
||||||
|
if (r == l_undef && m().canceled()) {
|
||||||
|
m_solver->set_reason_unknown(eh);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (z3_error & ex) {
|
catch (z3_error & ex) {
|
||||||
throw ex;
|
throw ex;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue