mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 08:35:31 +00:00
bugfix?
This commit is contained in:
parent
75527e8e19
commit
8de2503f9f
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ namespace polysat {
|
|||
pdd qs = c.value(rational(1), mon.num_bits());
|
||||
for (unsigned k = mon.size(); k-- > 0; )
|
||||
if (k != j)
|
||||
qs *= mon.arg_vals[k];
|
||||
qs *= mon.args[k];
|
||||
c.add_axiom("p * q = p => q = 1 or p = 0", { ~C.eq(mon.var, p), C.eq(qs, 1), C.eq(p) }, true);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue