fix: in final-check, resume if there are new decisions to do

This commit is contained in:
Simon Cruanes 2019-10-29 14:34:13 -05:00
parent 79b1585804
commit 2286a72437

View file

@ -2041,7 +2041,9 @@ module Make(Plugin : PLUGIN)
begin match Plugin.final_check st.th (full_slice st) with
| () ->
if st.elt_head = Vec.size st.trail &&
Vec.is_empty st.clauses_to_add then (
Vec.is_empty st.clauses_to_add &&
st.next_decisions = []
then (
raise_notrace E_sat
);
(* otherwise, keep on *)