3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-16 05:48:44 +00:00

handle zero rows correctly

This commit is contained in:
Lev Nachmanson 2024-08-27 08:59:33 -10:00
parent 178411ad0c
commit 1a99fa56cb

View file

@ -204,11 +204,9 @@ namespace lp {
print_lar_term_L(ep.m_l, tout << "m_l:") << std::endl;
);
mpq g = gcd_of_coeffs(ep.m_e);
if (g.is_zero()) {
if (ep.m_e.c().is_zero())
return true;
return false;
SASSERT(ep.m_e.c().is_zero());
return true;
}
if (g.is_one())
return true;