3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-03 13:55:47 +00:00
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2024-08-15 17:14:03 -10:00 committed by Lev Nachmanson
parent a5dd59fdfb
commit abf29b57aa
9 changed files with 999 additions and 903 deletions

View file

@ -100,14 +100,7 @@ namespace lp {
}
return true;
}
static mpq get_denominators_lcm(const row_strip<mpq> & row) {
mpq r(1);
for (auto & c : row)
r = lcm(r, denominator(c.coeff()));
return r;
}
bool int_gcd_test::gcd_test_for_row(const static_matrix<mpq, numeric_pair<mpq>> & A, unsigned i) {
auto const& row = A.m_rows[i];
unsigned basic_var = lra.r_basis()[i];