3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-26 13:06:05 +00:00

household chores - move to iterators

This commit is contained in:
Nikolaj Bjorner 2025-03-24 12:35:46 -07:00
parent dee3cf8de4
commit 93cf989b78
2 changed files with 10 additions and 16 deletions

View file

@ -169,10 +169,8 @@ class degree_shift_tactic : public tactic {
void collect(goal const & g) {
m_var2degree.reset();
expr_fast_mark1 visited;
unsigned sz = g.size();
for (unsigned i = 0; i < sz; i++) {
collect(g.form(i), visited);
}
for (auto [f, d, p] : g)
collect(f, visited);
TRACE("degree_shift", display_candidates(tout););
}