3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-10 03:07:07 +00:00

Bugfix for ackermann helper

This commit is contained in:
Christoph M. Wintersteiger 2016-04-08 17:20:09 +01:00
parent bd0bd08ecf
commit 16e487b32a

View file

@ -33,8 +33,12 @@ class ackr_helper {
which are not marked as uninterpreted but effectively are.
*/
inline bool should_ackermannize(app const * a) const {
decl_plugin * p = m_bvutil.get_manager().get_plugin(a->get_family_id());
return p->is_considered_uninterpreted(a->get_decl());
if (is_uninterp(a))
return true;
else {
decl_plugin * p = m_bvutil.get_manager().get_plugin(a->get_family_id());
return p->is_considered_uninterpreted(a->get_decl());
}
}
inline bv_util& bvutil() { return m_bvutil; }