Skip to content

Commit 0734c5f

Browse files
fix is-array-sort test again
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent 892aa12 commit 0734c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/python/z3/z3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4298,7 +4298,7 @@ def is_array(a):
42984298
return isinstance(a, ArrayRef)
42994299

43004300
def is_array_sort(a):
4301-
return _ast_kind(a.ctx, a.sort()) == Z3_ARRAY_SORT
4301+
return Z3_get_sort_kind(a.ctx.ref(), Z3_get_sort(a.ctx.ref(), a.ast)) == Z3_ARRAY_SORT
43024302

43034303
def is_const_array(a):
43044304
"""Return `True` if `a` is a Z3 constant array.

0 commit comments

Comments
 (0)