3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-29 09:28:45 +00:00

sparse_matrix iterators

This commit is contained in:
Jakob Rath 2022-08-01 12:17:21 +02:00 committed by Nikolaj Bjorner
parent 6eae27ffad
commit 9275d1e57a
4 changed files with 22 additions and 7 deletions

View file

@ -1011,7 +1011,7 @@ namespace smt {
expr_ref tmp(m);
core.reset();
for (; it != end; ++it) {
unsigned v = it->m_var;
unsigned v = it->var();
if (num_nodes <= v && v < num_nodes + num_edges) {
unsigned edge_id = v - num_nodes;
literal lit = m_edges[edge_id].m_justification;