mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
check cancel flag after bcp. BCP returns in incomplete state after it check's the cancel flag. Propagate returns 'true' in this case so that the main loop exits
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e57e5328ce
commit
d03a4bc306
1 changed files with 2 additions and 0 deletions
|
@ -1615,6 +1615,8 @@ namespace smt {
|
|||
unsigned qhead = m_qhead;
|
||||
if (!bcp())
|
||||
return false;
|
||||
if (m_cancel_flag)
|
||||
return true;
|
||||
SASSERT(!inconsistent());
|
||||
propagate_relevancy(qhead);
|
||||
if (inconsistent())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue