fix(sat): fix bug in restarts, we need to solve again after one

This commit is contained in:
Simon Cruanes 2018-08-18 18:08:42 -05:00
parent ca531d73a6
commit dd58fa21ef

View file

@ -1529,7 +1529,8 @@ module Make (Th : Theory_intf.S) = struct
| exception Restart ->
n_of_conflicts := !n_of_conflicts *. restart_inc;
n_of_learnts := !n_of_learnts *. learntsize_inc;
check_invariants st
check_invariants st;
call_solve()
| exception Conflict c ->
add_boolean_conflict st c;
call_solve()