3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00

fix reporting on cancelation when based on cancel flag

This commit is contained in:
Nikolaj Bjorner 2024-11-02 12:48:03 -07:00
parent 604714ba40
commit 1957b4d991

View file

@ -4077,7 +4077,11 @@ namespace smt {
IF_VERBOSE(100, verbose_stream() << "(smt.final-check \"" << th->get_name() << "\")\n";);
ok = th->final_check_eh();
TRACE("final_check_step", tout << "final check '" << th->get_name() << " ok: " << ok << " inconsistent " << inconsistent() << "\n";);
if (ok == FC_GIVEUP) {
if (get_cancel_flag()) {
f = CANCELED;
ok = FC_GIVEUP;
}
else if (ok == FC_GIVEUP) {
f = THEORY;
m_incomplete_theories.push_back(th);
}