3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-14 21:08:46 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-19 23:30:37 -07:00
parent c8b9eba069
commit e3e6959b70
2 changed files with 2 additions and 3 deletions

View file

@ -528,9 +528,7 @@ void theory_diff_logic<Ext>::propagate() {
break; break;
} }
default: default:
std::cout << m_params.m_arith_propagation_strategy << "\n";
SASSERT(false); SASSERT(false);
UNREACHABLE();
propagate_core(); propagate_core();
} }
} }

View file

@ -992,6 +992,7 @@ bool theory_seq::solve_itos(expr* n, expr_ref_vector const& rs, dependency* dep)
else { else {
num = m_autil.mk_add(m_autil.mk_mul(m_autil.mk_int(10), num), digit); num = m_autil.mk_add(m_autil.mk_mul(m_autil.mk_int(10), num), digit);
} }
propagate_lit(dep, 0, nullptr, m_ax.is_digit(u));
} }
propagate_lit(dep, 0, nullptr, mk_simplified_literal(m.mk_eq(n, num))); propagate_lit(dep, 0, nullptr, mk_simplified_literal(m.mk_eq(n, num)));
if (rs.size() > 1) { if (rs.size() > 1) {