We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b68394 commit 908aaa0Copy full SHA for 908aaa0
src/model/model_evaluator.cpp
@@ -172,18 +172,20 @@ struct evaluator_cfg : public default_rewriter_cfg {
172
173
struct has_redex {};
174
struct has_redex_finder {
175
- array_util& au;
176
- has_redex_finder(array_util& au): au(au) {}
+ evaluator_cfg& ev;
+ has_redex_finder(evaluator_cfg& ev): ev(ev) {}
177
void operator()(var* v) {}
178
void operator()(quantifier* q) {}
179
void operator()(app* a) {
180
- if (au.is_as_array(a->get_decl()))
+ if (ev.m_ar.is_as_array(a->get_decl()))
181
throw has_redex();
182
- if (au.get_manager().is_eq(a))
+ if (ev.m_ar.get_manager().is_eq(a))
183
+ throw has_redex();
184
+ if (ev.m_fpau.is_fp(a))
185
186
}
187
};
- has_redex_finder ha(m_ar);
188
+ has_redex_finder ha(*this);
189
try {
190
for_each_expr(ha, e);
191
0 commit comments