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:
parent
bd0bd08ecf
commit
16e487b32a
|
@ -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; }
|
||||
|
|
Loading…
Reference in a new issue