mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
This commit is contained in:
parent
60a25053c6
commit
202ed79a24
3 changed files with 8 additions and 7 deletions
|
@ -1227,6 +1227,8 @@ namespace opt {
|
|||
|
||||
if (m_var2is_int[x] && !a.is_one()) {
|
||||
row& r1 = m_rows[row_id1];
|
||||
r1.m_coeff -= r1.m_value;
|
||||
r1.m_value = 0;
|
||||
vector<var> coeffs;
|
||||
mk_coeffs_without(coeffs, r1.m_vars, x);
|
||||
rational c = mod(-eval(coeffs), a);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue