mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 12:28:44 +00:00
handle zero rows correctly
This commit is contained in:
parent
78a58b06aa
commit
3d5ee82bd1
|
@ -204,11 +204,9 @@ namespace lp {
|
||||||
print_lar_term_L(ep.m_l, tout << "m_l:") << std::endl;
|
print_lar_term_L(ep.m_l, tout << "m_l:") << std::endl;
|
||||||
);
|
);
|
||||||
mpq g = gcd_of_coeffs(ep.m_e);
|
mpq g = gcd_of_coeffs(ep.m_e);
|
||||||
|
|
||||||
if (g.is_zero()) {
|
if (g.is_zero()) {
|
||||||
if (ep.m_e.c().is_zero())
|
SASSERT(ep.m_e.c().is_zero());
|
||||||
return true;
|
return true;
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
if (g.is_one())
|
if (g.is_one())
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue