Skip to content

Commit 075150b

Browse files
committed
Fix the strategy for the n argument of test_matrix_power()
1 parent 2ea31c2 commit 075150b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_tests/test_linalg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def test_matrix_norm(x, kw):
294294

295295
@given(
296296
x=xps.arrays(dtype=xps.floating_dtypes(), shape=shapes),
297-
n=xps.arrays(dtype=xps.floating_dtypes(), shape=shapes),
297+
n=integers(),
298298
)
299299
def test_matrix_power(x, n):
300300
# res = _array_module.linalg.matrix_power(x, n)

0 commit comments

Comments
 (0)