Skip to content

Commit 2f4ace7

Browse files
authored
BUG: fix linting (numpy#29210)
1 parent 70851b3 commit 2f4ace7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpy/_core/tests/test_multiarray.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7333,15 +7333,15 @@ def apply_mode(m, mode):
73337333
(m.shape[0] * 2, m.shape[1] * 2), dtype=m.dtype, order=order
73347334
)[::2, ::2]
73357335
retval[...] = m
7336-
return retval
7336+
return retval
73377337

73387338
is_complex = np.issubdtype(dtype, np.complexfloating)
73397339
m1 = self.m1.astype(dtype) + (1j if is_complex else 0)
73407340
m2 = self.m2.astype(dtype) + (1j if is_complex else 0)
73417341
dot_res = np.dot(m1, m2)
73427342
mo = np.zeros_like(dot_res)
73437343

7344-
for mode in itertools.product(*[modes]*3):
7344+
for mode in itertools.product(*[modes] * 3):
73457345
m1_, m2_, mo_ = [apply_mode(*x) for x in zip([m1, m2, mo], mode)]
73467346
assert_equal(np.matmul(m1_, m2_, out=mo_), dot_res)
73477347

0 commit comments

Comments
 (0)