Skip to content

Commit

Permalink
fix reporting on cancelation when based on cancel flag
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Nov 2, 2024
1 parent 604714b commit 1957b4d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/smt/smt_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1957b4d

Please sign in to comment.