3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 09:35:32 +00:00

fixed bug reported by Herman

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2012-11-27 17:18:38 -08:00
parent 1d9b090196
commit aa4fe775b1
2 changed files with 3 additions and 1 deletions

View file

@ -308,7 +308,7 @@ void strategic_solver::pop(unsigned n) {
unsigned strategic_solver::get_scope_level() const {
if (m_ctx == 0)
return 0;
return m_ctx->m_assertions.size();
return m_ctx->m_scopes.size();
}
struct aux_timeout_eh : public event_handler {