Skip to content

Commit e0359ff

Browse files
committed
..
1 parent 411ee89 commit e0359ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_compat/cupy/_aliases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def count_nonzero(
140140

141141
# take_along_axis: axis defaults to -1 but in cupy (and numpy) axis is a required arg
142142
def take_along_axis(x: Array, indices: Array, /, *, axis: int = -1):
143-
return np.take_along_axis(x, indices, axis=axis)
143+
return cp.take_along_axis(x, indices, axis=axis)
144144

145145

146146
# These functions are completely new here. If the library already has them

0 commit comments

Comments
 (0)