Skip to content

Commit 4d3405a

Browse files
committed
Add -1 to test_matrix_norm sample
1 parent 4491214 commit 4d3405a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: array_api_tests/test_linalg.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def test_matmul(x1, x2):
315315
@given(
316316
x=finite_matrices(),
317317
kw=kwargs(keepdims=booleans(),
318-
ord=sampled_from([-float('inf'), -2, -2, 1, 2, float('inf'), 'fro', 'nuc']))
318+
ord=sampled_from([-float('inf'), -2, -1, 1, 2, float('inf'), 'fro', 'nuc']))
319319
)
320320
def test_matrix_norm(x, kw):
321321
res = linalg.matrix_norm(x, **kw)

0 commit comments

Comments
 (0)