Skip to content

Commit b85deb8

Browse files
Remove use of an old API from the DyND type system.
1 parent fd8d73a commit b85deb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dynd/nd/array.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ def dshape_of(array a):
603603
a : dynd array
604604
The array whose type is requested.
605605
"""
606-
return str(<char *>dynd_format_datashape(a.v).c_str())
606+
return str(<char *>dynd_format_datashape(a.v.get_type()).c_str())
607607

608608
def ndim_of(array a):
609609
"""

0 commit comments

Comments
 (0)