3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-20 04:43:39 +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. which are not marked as uninterpreted but effectively are.
*/ */
inline bool should_ackermannize(app const * a) const { inline bool should_ackermannize(app const * a) const {
decl_plugin * p = m_bvutil.get_manager().get_plugin(a->get_family_id()); if (is_uninterp(a))
return p->is_considered_uninterpreted(a->get_decl()); 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; } inline bv_util& bvutil() { return m_bvutil; }