mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 21:38:44 +00:00
fixed bug reported by Herman
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
1d9b090196
commit
aa4fe775b1
|
@ -14,6 +14,8 @@ Version 4.3.2
|
||||||
|
|
||||||
- Removed 'autoconf' dependency. We do not need to execute 'autoconf' and './configure' anymore to build Z3.
|
- Removed 'autoconf' dependency. We do not need to execute 'autoconf' and './configure' anymore to build Z3.
|
||||||
|
|
||||||
|
- Fixed incorrect result returned by Z3_solver_get_num_scopes. (Thanks to Herman Venter). This bug was introduced in Z3 4.3.0
|
||||||
|
|
||||||
Version 4.3.1
|
Version 4.3.1
|
||||||
=============
|
=============
|
||||||
|
|
||||||
|
|
|
@ -308,7 +308,7 @@ void strategic_solver::pop(unsigned n) {
|
||||||
unsigned strategic_solver::get_scope_level() const {
|
unsigned strategic_solver::get_scope_level() const {
|
||||||
if (m_ctx == 0)
|
if (m_ctx == 0)
|
||||||
return 0;
|
return 0;
|
||||||
return m_ctx->m_assertions.size();
|
return m_ctx->m_scopes.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
struct aux_timeout_eh : public event_handler {
|
struct aux_timeout_eh : public event_handler {
|
||||||
|
|
Loading…
Reference in a new issue