3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-03 22:43:56 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-03-29 10:54:56 -07:00
parent 9f386306ef
commit 1155db383e
2 changed files with 2 additions and 0 deletions

View file

@ -164,6 +164,7 @@ namespace opt {
}
void context::pop(unsigned n) {
n = std::min(n, m_scoped_state.num_scopes());
for (unsigned i = 0; i < n; ++i) {
m_scoped_state.pop();
}