mirror of
https://github.com/Z3Prover/z3
synced 2025-06-19 20:33:38 +00:00
Bugfix for ackermann helper
This commit is contained in:
parent
bd0bd08ecf
commit
16e487b32a
1 changed files with 6 additions and 2 deletions
|
@ -33,9 +33,13 @@ 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 {
|
||||||
|
if (is_uninterp(a))
|
||||||
|
return true;
|
||||||
|
else {
|
||||||
decl_plugin * p = m_bvutil.get_manager().get_plugin(a->get_family_id());
|
decl_plugin * p = m_bvutil.get_manager().get_plugin(a->get_family_id());
|
||||||
return p->is_considered_uninterpreted(a->get_decl());
|
return p->is_considered_uninterpreted(a->get_decl());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
inline bv_util& bvutil() { return m_bvutil; }
|
inline bv_util& bvutil() { return m_bvutil; }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue