3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00

use monomial variable, not the fixed variable

This commit is contained in:
Nikolaj Bjorner 2025-01-14 07:27:59 -08:00
parent a08a3ee32b
commit 89ed4d6c8b

View file

@ -69,7 +69,7 @@ namespace nla {
}
vector<std::pair<lp::mpq, lpvar>> coeffs;
coeffs.push_back({coeff, free_var});
coeffs.push_back({mpq(-1), v});
coeffs.push_back({mpq(-1), m.var()});
lpvar j = lra.add_term(coeffs, UINT_MAX);
lra.update_column_type_and_bound(j, llc::EQ, mpq(0), d);
}