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

assert that the sdi is infinite by default

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-04-02 12:10:31 -07:00
parent b45311cc7c
commit afce09efe4

View file

@ -305,8 +305,10 @@ bool intervals::interval_from_term(const nex& e, scoped_dep_interval& i) {
template <e_with_deps wd>
void intervals::interval_of_sum_no_term(const nex_sum& e, scoped_dep_interval & sdi) {
if (has_inf_interval(e))
if (has_inf_interval(e)) {
SASSERT(m_dep_intervals.lower_is_inf(sdi) && m_dep_intervals.upper_is_inf(sdi));
return;
}
interval_of_expr<wd>(e[0], 1, sdi);
for (unsigned k = 1; k < e.size(); k++) {