3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00

handle zero rows correctly

This commit is contained in:
Lev Nachmanson 2024-08-27 08:59:33 -10:00 committed by Lev Nachmanson
parent 78a58b06aa
commit 3d5ee82bd1

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;