We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78d1139 commit 8b657f2Copy full SHA for 8b657f2
src/api/python/z3/z3.py
@@ -1400,7 +1400,7 @@ def is_app_of(a, k):
1400
>>> is_app_of(n, Z3_OP_MUL)
1401
False
1402
"""
1403
- return is_app(a) and a.decl().kind() == k
+ return is_app(a) and a.kind() == k
1404
1405
1406
def If(a, b, c, ctx=None):
@@ -9454,7 +9454,7 @@ def get_default_rounding_mode(ctx=None):
9454
def set_default_rounding_mode(rm, ctx=None):
9455
global _dflt_rounding_mode
9456
if is_fprm_value(rm):
9457
- _dflt_rounding_mode = rm.decl().kind()
+ _dflt_rounding_mode = rm.kind()
9458
else:
9459
_z3_assert(_dflt_rounding_mode in _ROUNDING_MODES, "illegal rounding mode")
9460
_dflt_rounding_mode = rm
0 commit comments