mirror of
https://github.com/Z3Prover/z3
synced 2025-08-09 20:50:50 +00:00
parent
0b856638e9
commit
426e4cc75c
65 changed files with 135 additions and 146 deletions
|
@ -36,7 +36,7 @@ namespace opt {
|
|||
m_solver->get_model(m_model);
|
||||
solver::scoped_push _s(*m_solver.get());
|
||||
while (is_sat == l_true) {
|
||||
if (m.canceled()) {
|
||||
if (!m.inc()) {
|
||||
return l_undef;
|
||||
}
|
||||
|
||||
|
@ -96,7 +96,7 @@ namespace opt {
|
|||
lbool oia_pareto::operator()() {
|
||||
solver::scoped_push _s(*m_solver.get());
|
||||
lbool is_sat = m_solver->check_sat(0, nullptr);
|
||||
if (m.canceled()) {
|
||||
if (!m.inc()) {
|
||||
is_sat = l_undef;
|
||||
}
|
||||
if (is_sat == l_true) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue