mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-09 12:45:48 -05:00
fix: proper negation when raising an acyclicity conflict
This commit is contained in:
parent
c8800fe3e2
commit
2922cca78f
1 changed files with 3 additions and 1 deletions
|
|
@ -630,7 +630,9 @@ module Make (A : ARG) : S with module A = A = struct
|
|||
k "(@[%s.acyclicity.raise_confl@ %a@ @[:path %a@]@])" name Expl.pp
|
||||
expl pp_path path);
|
||||
let lits, pr = SI.cc_resolve_expl solver expl in
|
||||
SI.raise_conflict solver acts lits pr
|
||||
(* negate lits *)
|
||||
let c = List.rev_map SI.Lit.neg lits in
|
||||
SI.raise_conflict solver acts c pr
|
||||
| { flag = New; _ } as node_r ->
|
||||
node_r.flag <- Open;
|
||||
let path = (n, node_r) :: path in
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue