mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
speed up freedom interval computation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
75d1e8e929
commit
ff5bdd6f1f
3 changed files with 86 additions and 30 deletions
|
@ -1074,9 +1074,10 @@ public:
|
|||
default:
|
||||
break;
|
||||
}
|
||||
auto vi = get_lpvar(b->get_var());
|
||||
if (vi == lp::null_lpvar)
|
||||
auto vi = register_theory_var_in_lar_solver(b->get_var());
|
||||
if (vi == lp::null_lpvar) {
|
||||
return l_undef;
|
||||
}
|
||||
return m_solver->compare_values(vi, k, b->get_value()) ? l_true : l_false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue