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

cosmetic changes

This commit is contained in:
Lev Nachmanson 2023-10-08 10:16:40 -07:00
parent 3aac528aef
commit 1ba0f5aba9
2 changed files with 2 additions and 2 deletions

View file

@ -447,7 +447,7 @@ namespace lp {
case column_type::lower_bound: { case column_type::lower_bound: {
const auto& l = lcs.m_r_lower_bounds()[j]; const auto& l = lcs.m_r_lower_bounds()[j];
if (val != lcs.m_r_lower_bounds()[j]) { if (val != l) {
set_value_for_nbasic_column(j, l); set_value_for_nbasic_column(j, l);
return true; return true;
} }

View file

@ -370,7 +370,7 @@ namespace nla {
rational monomial_bounds::fixed_var_product(monic const& m) { rational monomial_bounds::fixed_var_product(monic const& m) {
rational r(1); rational r(1);
for (lpvar v : m) { for (lpvar v : m) {
// we have to use the column bounds here, because the value of the column value may be outside the bounds // we have to use the column bounds here, because the column value may be outside the bounds
if (c().var_is_fixed(v)) if (c().var_is_fixed(v))
r *= c().lra.get_lower_bound(v).x; r *= c().lra.get_lower_bound(v).x;
} }