3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 17:45:32 +00:00

track variables used by nla_solver

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-03-13 15:29:37 -07:00 committed by Lev Nachmanson
parent a7158772ad
commit f1f974638d
2 changed files with 2 additions and 1 deletions

View file

@ -59,6 +59,7 @@ public:
m_dep_intervals.mul(hi, a, t);
m_dep_intervals.add(t, lo, ret);
}
m().del(a);
}
// f meant to be called when the separation happens
template <typename T>

View file

@ -687,7 +687,7 @@ class theory_lra::imp {
}
}
TRACE("arith", tout << "v" << v << " := " << mk_pp(t, m) << "\n";);
TRACE("arith", tout << "v" << v << " := " << mk_pp(t, m) << "\n" << vars << "\n";);
if (!_has_var) {
m_solver->register_existing_terms();
m_switcher.add_monic(register_theory_var_in_lar_solver(v), vars.size(), vars.c_ptr());