mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
parent
0b856638e9
commit
426e4cc75c
65 changed files with 135 additions and 146 deletions
|
@ -779,7 +779,7 @@ struct goal2sat::imp {
|
|||
}
|
||||
while (!m_frame_stack.empty()) {
|
||||
loop:
|
||||
if (m.canceled())
|
||||
if (!m.inc())
|
||||
throw tactic_exception(m.limit().get_cancel_msg());
|
||||
if (memory::get_allocation_size() > m_max_memory)
|
||||
throw tactic_exception(TACTIC_MAX_MEMORY_MSG);
|
||||
|
@ -1098,7 +1098,7 @@ struct sat2goal::imp {
|
|||
}
|
||||
|
||||
void checkpoint() {
|
||||
if (m.canceled())
|
||||
if (!m.inc())
|
||||
throw tactic_exception(m.limit().get_cancel_msg());
|
||||
if (memory::get_allocation_size() > m_max_memory)
|
||||
throw tactic_exception(TACTIC_MAX_MEMORY_MSG);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue