3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-19 10:52:02 +00:00

fix regression on push/pop

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2014-09-01 14:37:58 -07:00
parent 89f0319043
commit 75c114feab
3 changed files with 2 additions and 3 deletions

View file

@ -143,11 +143,9 @@ namespace opt {
void context::push() {
m_scoped_state.push();
m_solver->push();
}
void context::pop(unsigned n) {
m_solver->pop(n);
for (unsigned i = 0; i < n; ++i) {
m_scoped_state.pop();
}