3
0
Fork 0
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:
Christoph M. Wintersteiger 2016-11-10 17:06:55 +00:00
parent 520e868add
commit bfaa9ddf63
6 changed files with 13 additions and 9 deletions

View file

@ -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;