3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 13:28:47 +00:00
This commit is contained in:
hgvk94 2025-02-19 19:41:42 -05:00
parent 1fec0fa35b
commit 13445858f3

View file

@ -75,7 +75,7 @@ struct mbp_dt_tg::impl {
void rm_select(expr *term) {
SASSERT(is_app(term) &&
m_dt_util.is_accessor(to_app(term)->get_decl()) &&
is_var(to_app(term)->get_arg(0)));
has_var(to_app(term)->get_arg(0)));
TRACE("mbp_tg", tout << "applying rm_select on " << expr_ref(term, m););
expr *v = to_app(term)->get_arg(0);
expr_ref sel(m);
@ -162,7 +162,7 @@ struct mbp_dt_tg::impl {
if (m_tg.is_cgr(term)) continue;
if (is_app(term) &&
m_dt_util.is_accessor(to_app(term)->get_decl()) &&
is_var(to_app(term)->get_arg(0))) {
has_var(to_app(term)->get_arg(0))) {
mark_seen(term);
progress = true;
rm_select(term);