Fixed location of debug message

This commit is contained in:
Guillaume Bury 2015-03-10 17:57:48 +01:00
parent 1b5038e620
commit a17d83eb1d
2 changed files with 2 additions and 2 deletions

View file

@ -498,10 +498,10 @@ module Make (L : Log_intf.S)(E : Expr_intf.S)
if env.is_unsat then raise Unsat; (* is it necessary ? *)
let init_name = name in
let init0 = make_clause init_name atoms (List.length atoms) (history <> History []) history in
L.debug 10 "Adding clause : %a" St.pp_clause init0;
try
if Proof.has_been_proved init0 then raise Trivial;
assert (Proof.is_proven init0);
L.debug 10 "Adding clause : %a" St.pp_clause init0;
let atoms, init = partition atoms init0 in
let size = List.length atoms in
match atoms with

View file

@ -425,7 +425,7 @@ module Make (L : Log_intf.S)(F : Formula_intf.S)
cancel_until lvl;
enqueue a lvl (Some clause)
end
| [a] ->
| [a] ->
cancel_until 0;
a.var.vpremise <- History [init0];
enqueue a 0 (Some init0)