3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 13:28:47 +00:00

fix errors in cube rounding

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-04-18 21:06:26 -07:00
parent 43758cbc66
commit 2d12874f30

View file

@ -875,6 +875,8 @@ void lar_solver::update_x_and_inf_costs_for_columns_with_changed_bounds_tableau(
}
void lar_solver::fix_Ax_b_on_rounded_row(unsigned i) {
if (A_r().m_rows[i].size() <= i)
return;
unsigned bj = m_mpq_lar_core_solver.m_r_basis[i];
auto& v = m_mpq_lar_core_solver.m_r_x[bj];
v = zero_of_type<numeric_pair<mpq>>();