diff --git a/src/math/lp/monomial_bounds.cpp b/src/math/lp/monomial_bounds.cpp index 06901e062..ad0d11cbc 100644 --- a/src/math/lp/monomial_bounds.cpp +++ b/src/math/lp/monomial_bounds.cpp @@ -69,7 +69,7 @@ namespace nla { } vector> 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); }