3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 11:55:51 +00:00

isolate constraints in a constraint_set

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-02-07 09:24:45 -08:00
parent 024ca86386
commit 800bc757ae
5 changed files with 17 additions and 25 deletions

View file

@ -995,7 +995,7 @@ std::unordered_set<lpvar> core::collect_vars(const lemma& l) const {
}
}
for (const auto& p : current_expl()) {
const auto& c = m_lar_solver.get_constraint(p.second);
const auto& c = m_lar_solver.constraints()[p.second];
for (const auto& r : c.coeffs()) {
insert_j(r.second);
}