3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-20 21:03:39 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-09-03 23:47:25 -07:00
parent 9fce5e124f
commit 8f4e7f4961
2 changed files with 30 additions and 11 deletions

View file

@ -87,7 +87,7 @@ subterms::iterator& subterms::iterator::operator++() {
m_es.push_back(arg);
}
}
while (m_visited.is_marked(m_es.back())) {
while (!m_es.empty() && m_visited.is_marked(m_es.back())) {
m_es.pop_back();
}
return *this;