mirror of
https://github.com/Z3Prover/z3
synced 2025-07-18 10:30:44 +00:00
nits
This commit is contained in:
parent
661ccb3702
commit
a73e244db4
2 changed files with 3 additions and 5 deletions
|
@ -301,10 +301,8 @@ bool substitution::acyclic(expr_offset p) {
|
||||||
bool substitution::acyclic() {
|
bool substitution::acyclic() {
|
||||||
m_color.reset();
|
m_color.reset();
|
||||||
expr_offset r;
|
expr_offset r;
|
||||||
svector<var_offset>::iterator it = m_vars.begin();
|
for (auto const& [k, v] : m_vars) {
|
||||||
svector<var_offset>::iterator end = m_vars.end();
|
m_subst.find(k, v, r);
|
||||||
for (; it != end; ++it) {
|
|
||||||
m_subst.find(it->first, it->second, r);
|
|
||||||
if (!acyclic(r))
|
if (!acyclic(r))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -210,7 +210,7 @@ public:
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
T const& operator*() const {
|
T const & operator*() const {
|
||||||
return *m_elem;
|
return *m_elem;
|
||||||
}
|
}
|
||||||
bool operator!=(dll_iterator const& other) const {
|
bool operator!=(dll_iterator const& other) const {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue