mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 03:45:51 +00:00
fix a bug in lar_solver in queryaing if a column is int
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
0a29002c2f
commit
db5ac5afa8
9 changed files with 26 additions and 24 deletions
|
@ -137,7 +137,7 @@ void pivot_column_non_fractional(M &m, unsigned r, bool & overflow, const mpq &
|
|||
overflow = true;
|
||||
return;
|
||||
}
|
||||
lp_assert(is_int(m[i][j]));
|
||||
lp_assert(is_integer(m[i][j]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -577,7 +577,7 @@ private:
|
|||
process_row_modulo();
|
||||
lp_assert(is_pos(m_W[m_i][m_i]));
|
||||
m_R /= m_W[m_i][m_i];
|
||||
lp_assert(is_int(m_R));
|
||||
lp_assert(is_integer(m_R));
|
||||
m_half_R = floor(m_R / 2);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue