3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00

fix a bug in nexvar()

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-01-11 17:36:49 -08:00
parent f0b530b0e4
commit 379a1927e6

View file

@ -143,7 +143,7 @@ nex * common::nexvar(const rational & coeff, lpvar j, nex_creator& cn) {
if (c().m_nla_settings.horner_subs_fixed() && c().var_is_fixed(k)) {
mf *= c().m_lar_solver.column_lower_bound(k).x;
} else if (c().m_nla_settings.horner_subs_fixed() == 2 &&
c().var_is_fixed_to_zero(j)) {
c().var_is_fixed_to_zero(k)) {
return cn.mk_scalar(rational(0));
}
else {