mirror of
https://github.com/Z3Prover/z3
synced 2026-03-04 12:40:23 +00:00
use unit coefficients for muls
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
0df6fe65f7
commit
df980acd67
4 changed files with 32 additions and 34 deletions
|
|
@ -127,6 +127,7 @@ namespace sls {
|
|||
}
|
||||
}
|
||||
|
||||
repair_literals();
|
||||
|
||||
// propagate "final checks"
|
||||
bool propagated = true;
|
||||
|
|
@ -136,9 +137,9 @@ namespace sls {
|
|||
propagated |= p && !m_new_constraint && p->propagate();
|
||||
}
|
||||
|
||||
if (m_new_constraint)
|
||||
return;
|
||||
}
|
||||
|
||||
void context::repair_literals() {
|
||||
for (sat::bool_var v = 0; v < s.num_vars() && !m_new_constraint; ++v) {
|
||||
auto a = atom(v);
|
||||
if (!a)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue