mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-08 12:15:48 -05:00
fix(sat): fix bug in restarts, we need to solve again after one
This commit is contained in:
parent
ca531d73a6
commit
dd58fa21ef
1 changed files with 2 additions and 1 deletions
|
|
@ -1529,7 +1529,8 @@ module Make (Th : Theory_intf.S) = struct
|
||||||
| exception Restart ->
|
| exception Restart ->
|
||||||
n_of_conflicts := !n_of_conflicts *. restart_inc;
|
n_of_conflicts := !n_of_conflicts *. restart_inc;
|
||||||
n_of_learnts := !n_of_learnts *. learntsize_inc;
|
n_of_learnts := !n_of_learnts *. learntsize_inc;
|
||||||
check_invariants st
|
check_invariants st;
|
||||||
|
call_solve()
|
||||||
| exception Conflict c ->
|
| exception Conflict c ->
|
||||||
add_boolean_conflict st c;
|
add_boolean_conflict st c;
|
||||||
call_solve()
|
call_solve()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue