3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

Adjusted rlimit increments in theory_arith to avoid non-termination issues

This commit is contained in:
Christoph M. Wintersteiger 2017-06-25 22:19:42 +01:00
parent ffbf19d944
commit c395516058
4 changed files with 8 additions and 4 deletions

View file

@ -1984,7 +1984,7 @@ namespace smt {
a_kj = r2[it->m_row_idx].m_coeff;
a_kj.neg();
add_row(it->m_row_id, a_kj, r_id, apply_gcd_test);
get_manager().limit().inc(r1_sz + r2.size());
get_manager().limit().inc((r1_sz + r2.size()) * (a_kj.storage_size()));
}
}
else {