Fix for lack of insertion of new atoms in iheap.

This commit is contained in:
Guillaume Bury 2015-01-26 15:54:28 +01:00
parent db0bd8c2df
commit a5c67c7545

View file

@ -650,6 +650,7 @@ module Make (L : Log_intf.S)(E : Expr_intf.S)
propagate ()
| Th.Unsat (l, p) ->
let l = List.rev_map new_atom l in
List.iter (fun a -> insert_var_order (Either.mk_right a.var)) l;
let c = St.make_clause (St.fresh_name ()) l (List.length l) true (Lemma p) in
Some c