3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-05-16 23:25:36 +00:00

use shrink instead of pop in a loop

This commit is contained in:
Nikolaj Bjorner 2026-05-16 10:29:45 -07:00
parent b8052d67cb
commit 5ca32d65bd

View file

@ -125,7 +125,6 @@ namespace smt {
void pop(unsigned n) override {
SASSERT(n <= m_frame_bounds.size());
unsigned target = m_frame_bounds[m_frame_bounds.size() - n];
while (m_deps.size() > target) {
m_deps.pop_back();
}
for (unsigned i = 0; i < n; i++) {