Skip to content

Commit b2fdefd

Browse files
committed
Remove some commented out code
1 parent 6155e4a commit b2fdefd

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

array_api_tests/test_linalg.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,6 @@ def _test_stacks(f, *args, res=None, dims=2, true_val=None, matrix_axes=(-2, -1)
7171
iter_indices(res.shape, skip_axes=tuple(range(-dims, 0)))):
7272
x_idxes = [x_idx.raw for x_idx in x_idxes]
7373
res_idx = res_idx.raw
74-
# res should have `dims` slices in it. Cases where there are more than
75-
# `dims` slices are ambiguous, but that should only occur in cases
76-
# where axes = (-2, -1).
77-
# res_idx2 = []
78-
# d = dims
79-
# for i in res_idx:
80-
# if isinstance(i, slice):
81-
# if d:
82-
# res_idx2.append(i)
83-
# d -= 1
84-
# else:
85-
# res_idx2.append(i)
86-
# res_idx2 = tuple(res_idx2)
8774

8875
res_stack = res[res_idx]
8976
x_stacks = [x[x_idx] for x, x_idx in zip(args, x_idxes)]

0 commit comments

Comments
 (0)