mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-07 19:55:41 -05:00
fix(core): cancel-until 0 before solving
This commit is contained in:
parent
a88752759f
commit
4ca441fa38
1 changed files with 1 additions and 0 deletions
|
|
@ -1950,6 +1950,7 @@ module Make(Plugin : PLUGIN)
|
||||||
add_clause_ st c
|
add_clause_ st c
|
||||||
|
|
||||||
let solve (st:t) ?(assumptions=[]) () =
|
let solve (st:t) ?(assumptions=[]) () =
|
||||||
|
cancel_until st 0;
|
||||||
Vec.clear st.assumptions;
|
Vec.clear st.assumptions;
|
||||||
List.iter (Vec.push st.assumptions) assumptions;
|
List.iter (Vec.push st.assumptions) assumptions;
|
||||||
try
|
try
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue