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 0bceae1 commit 6fb104aCopy full SHA for 6fb104a
array_api_tests/test_indexing_functions.py
@@ -49,7 +49,7 @@ def test_take(x, data):
49
f_axis_idx = sh.fmt_idx("x", axis_idx)
50
for i in _indices:
51
f_take_idx = sh.fmt_idx(f_axis_idx, i)
52
- indexed_x = x[axis_idx][i]
+ indexed_x = x[axis_idx][i, ...]
53
for at_idx in sh.ndindex(indexed_x.shape):
54
out_idx = next(out_indices)
55
ph.assert_0d_equals(
0 commit comments