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() {
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue