3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 09:35:32 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-02 06:22:32 -07:00
parent b686bb61fe
commit 78ebe0a94c

View file

@ -90,7 +90,7 @@ void solver_na2as::push() {
}
void solver_na2as::pop(unsigned n) {
if (n > 0) {
if (n > 0 && !m_scopes.empty()) {
unsigned lvl = m_scopes.size();
n = std::min(lvl, n);
pop_core(n);