mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
remove literal polarity from dependencies
This commit is contained in:
parent
5398429c21
commit
658f079efd
5 changed files with 34 additions and 33 deletions
|
@ -181,8 +181,7 @@ namespace polysat {
|
|||
void solver::mk_atom(sat::bool_var bv, signed_constraint& sc) {
|
||||
if (get_bv2a(bv))
|
||||
return;
|
||||
sat::literal lit(bv, false);
|
||||
auto index = m_core.register_constraint(sc, dependency(lit));
|
||||
auto index = m_core.register_constraint(sc, dependency(bv));
|
||||
auto a = new (get_region()) atom(bv, index);
|
||||
insert_bv2a(bv, a);
|
||||
ctx.push(mk_atom_trail(bv, *this));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue