3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-28 10:51:28 +00:00

reference get_wlist

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-02-07 16:03:14 -08:00
parent d684d4fce0
commit d7f2638ecf
2 changed files with 8 additions and 9 deletions

View file

@ -1390,7 +1390,7 @@ namespace sat {
}
}
else {
slack -= abs(coeff);
slack -= std::abs(coeff);
m_lemma.push_back(~lit);
}
}
@ -3655,7 +3655,7 @@ namespace sat {
m_active_var_set.insert(v);
literal lit(v, coeff < 0);
p.m_lits.push_back(lit);
p.m_coeffs.push_back(abs(coeff));
p.m_coeffs.push_back(std::abs(coeff));
}
}