mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
cosmetic changes
This commit is contained in:
parent
3aac528aef
commit
1ba0f5aba9
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue