Skip to content

Commit f50f211

Browse files
authored
Fix #7505 (#7565)
* fix #7505 * rename
1 parent bd3d288 commit f50f211

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/qe/mbp/mbp_dt_tg.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ struct mbp_dt_tg::impl {
7272

7373
// rewrite head(x) with y
7474
// and x with list(y, z)
75-
void rm_select(expr *term) {
75+
void rm_accessor(expr *term) {
7676
SASSERT(is_app(term) &&
7777
m_dt_util.is_accessor(to_app(term)->get_decl()) &&
78-
is_var(to_app(term)->get_arg(0)));
79-
TRACE("mbp_tg", tout << "applying rm_select on " << expr_ref(term, m););
78+
has_var(to_app(term)->get_arg(0)));
79+
TRACE("mbp_tg", tout << "applying rm_accessor on " << expr_ref(term, m););
8080
expr *v = to_app(term)->get_arg(0);
8181
expr_ref sel(m);
8282
app_ref u(m);
@@ -162,10 +162,10 @@ struct mbp_dt_tg::impl {
162162
if (m_tg.is_cgr(term)) continue;
163163
if (is_app(term) &&
164164
m_dt_util.is_accessor(to_app(term)->get_decl()) &&
165-
is_var(to_app(term)->get_arg(0))) {
165+
has_var(to_app(term)->get_arg(0))) {
166166
mark_seen(term);
167167
progress = true;
168-
rm_select(term);
168+
rm_accessor(term);
169169
continue;
170170
}
171171
if (is_constructor_app(term, cons, rhs)) {

0 commit comments

Comments
 (0)