3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 17:45:32 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-06-03 21:10:07 -07:00
parent cbf089e10d
commit 9ca5b3f304
14 changed files with 20 additions and 21 deletions

View file

@ -362,7 +362,7 @@ namespace dd {
}
bool solver::canceled() {
return m_limit.get_cancel_flag();
return m_limit.is_canceled();
}
bool solver::done() {

View file

@ -78,7 +78,7 @@ struct solver::imp {
r = m_nlsat->check();
}
catch (z3_exception&) {
if (m_limit.get_cancel_flag()) {
if (m_limit.is_canceled()) {
r = l_undef;
}
else {