mirror of
https://github.com/Z3Prover/z3
synced 2025-04-07 18:05:21 +00:00
Fixed missing assignment for binary clauses (#6148)
* Added function to select the next variable to split on * Fixed typo * Small fixes * uint -> int * Fixed missing assignment for binary clauses
This commit is contained in:
parent
9d9414c111
commit
1f2346073a
|
@ -1429,7 +1429,10 @@ namespace smt {
|
|||
inc_ref(l2);
|
||||
m_watches[(~l1).index()].insert_literal(l2);
|
||||
m_watches[(~l2).index()].insert_literal(l1);
|
||||
if (get_assignment(l2) == l_false) {
|
||||
if (get_assignment(l1) == l_false) {
|
||||
assign(l2, b_justification(~l1));
|
||||
}
|
||||
else if (get_assignment(l2) == l_false) {
|
||||
assign(l1, b_justification(~l2));
|
||||
}
|
||||
m_clause_proof.add(l1, l2, k, j);
|
||||
|
|
Loading…
Reference in a new issue