mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
fix #5102
This commit is contained in:
parent
1cb0dbae51
commit
18143d8932
6 changed files with 41 additions and 32 deletions
|
@ -436,13 +436,15 @@ namespace smt {
|
|||
}
|
||||
if (found) {
|
||||
m_num_rounds++;
|
||||
if (!to_delete && !m_disabled_guards.empty())
|
||||
to_delete = m_disabled_guards.back();
|
||||
if (to_delete) {
|
||||
m_disabled_guards.erase(to_delete);
|
||||
m_enabled_guards.push_back(to_delete);
|
||||
IF_VERBOSE(2, verbose_stream() << "(smt.recfun :enable-guard " << mk_pp(to_delete, m) << ")\n");
|
||||
}
|
||||
else {
|
||||
IF_VERBOSE(2, verbose_stream() << "(smt.recfun :increment-round)\n");
|
||||
IF_VERBOSE(2, verbose_stream() << "(smt.recfun :increment-round " << m_num_rounds << ")\n");
|
||||
}
|
||||
for (expr* g : m_enabled_guards)
|
||||
push_guard(g);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue