3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-19 10:52:02 +00:00

check cancel flag to avoid unsound conflicts

This commit is contained in:
Nikolaj Bjorner 2023-11-19 11:43:52 -08:00
parent 32f8705ac3
commit 4350bd77ac
2 changed files with 10 additions and 2 deletions

View file

@ -1567,6 +1567,8 @@ lbool core::check() {
{1, check3} };
check_weighted(3, checks);
if (lp_settings().get_cancel_flag())
return l_undef;
if (!m_lemmas.empty() || !m_literals.empty() || m_check_feasible)
return l_false;
}