3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-18 10:30:44 +00:00
This commit is contained in:
Nikolaj Bjorner 2025-06-30 08:37:32 -07:00
parent 661ccb3702
commit a73e244db4
2 changed files with 3 additions and 5 deletions

View file

@ -301,10 +301,8 @@ bool substitution::acyclic(expr_offset p) {
bool substitution::acyclic() {
m_color.reset();
expr_offset r;
svector<var_offset>::iterator it = m_vars.begin();
svector<var_offset>::iterator end = m_vars.end();
for (; it != end; ++it) {
m_subst.find(it->first, it->second, r);
for (auto const& [k, v] : m_vars) {
m_subst.find(k, v, r);
if (!acyclic(r))
return false;
}

View file

@ -210,7 +210,7 @@ public:
return *this;
}
T const& operator*() const {
T const & operator*() const {
return *m_elem;
}
bool operator!=(dll_iterator const& other) const {