3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-12 10:14:42 +00:00

remove testing code in is_big_term_on_no_term

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2025-04-09 19:24:59 -07:00
parent 97bb449a24
commit 36a0006f59

View file

@ -786,7 +786,7 @@ namespace lp {
// it is a non-const function : it can set m_some_terms_are_ignored to true // it is a non-const function : it can set m_some_terms_are_ignored to true
bool term_has_big_number(const lar_term& t) { bool term_has_big_number(const lar_term& t) {
for (const auto& p : t) { for (const auto& p : t) {
if (abs(p.coeff()) > mpq(5) || p.coeff().is_big() || (is_fixed(p.var()) && lra.get_lower_bound(p.var()).x.is_big())) { if (p.coeff().is_big() || (is_fixed(p.var()) && lra.get_lower_bound(p.var()).x.is_big())) {
m_some_terms_are_ignored = true; m_some_terms_are_ignored = true;
return true; return true;
} }