mirror of
https://github.com/Z3Prover/z3
synced 2025-10-08 00:41:56 +00:00
Fixed potential SAT solver cleanup problem. Renamed functions for consistency. Relates to #570.
This commit is contained in:
parent
520e868add
commit
bfaa9ddf63
6 changed files with 13 additions and 9 deletions
|
@ -239,6 +239,7 @@ namespace sat {
|
|||
void checkpoint() {
|
||||
if (!m_rlimit.inc()) {
|
||||
m_mc.reset();
|
||||
m_model_is_current = false;
|
||||
throw solver_exception(Z3_CANCELED_MSG);
|
||||
}
|
||||
++m_num_checkpoints;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue