File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -497,9 +497,9 @@ module Make (User : USER) = struct
497
497
detect below). *)
498
498
assert (! current = None );
499
499
current := Some lit;
500
- let var_info = var_of_lit lit in
501
- (* If we later backtrack, unset current *)
502
- var_info.undo < - Undo_at_most_one current :: var_info.undo;
500
+ ( let var_info = var_of_lit lit in
501
+ (* If we later backtrack, unset current *)
502
+ var_info.undo < - Undo_at_most_one current :: var_info.undo) ;
503
503
(try
504
504
let clause = Clause t in
505
505
(* We set all other literals to False. *)
@@ -521,7 +521,7 @@ module Make (User : USER) = struct
521
521
log_debug (Pp. text " CONFLICT: enqueue failed for " ++ name_lit (neg l));
522
522
raise_notrace
523
523
Conflict (* Can't happen, since we already checked we're Undecided *) )
524
- | _ -> () );
524
+ | True | False -> () );
525
525
true
526
526
with
527
527
| Conflict -> false )
You can’t perform that action at this time.
0 commit comments