Skip to content

Commit e3e6959

Browse files
fix #4026
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent c8b9eba commit e3e6959

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/smt/theory_diff_logic_def.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,9 +528,7 @@ void theory_diff_logic<Ext>::propagate() {
528528
break;
529529
}
530530
default:
531-
std::cout << m_params.m_arith_propagation_strategy << "\n";
532531
SASSERT(false);
533-
UNREACHABLE();
534532
propagate_core();
535533
}
536534
}

src/smt/theory_seq.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ bool theory_seq::solve_itos(expr* n, expr_ref_vector const& rs, dependency* dep)
979979
literal lit = mk_simplified_literal(m_autil.mk_le(n, m_autil.mk_int(-1)));
980980
propagate_lit(dep, 0, nullptr, lit);
981981
return true;
982-
}
982+
}
983983
expr_ref num(m), digit(m);
984984
expr* u = nullptr;
985985
for (expr* r : rs) {
@@ -992,6 +992,7 @@ bool theory_seq::solve_itos(expr* n, expr_ref_vector const& rs, dependency* dep)
992992
else {
993993
num = m_autil.mk_add(m_autil.mk_mul(m_autil.mk_int(10), num), digit);
994994
}
995+
propagate_lit(dep, 0, nullptr, m_ax.is_digit(u));
995996
}
996997
propagate_lit(dep, 0, nullptr, mk_simplified_literal(m.mk_eq(n, num)));
997998
if (rs.size() > 1) {

0 commit comments

Comments
 (0)