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 28c0242 commit 8d1ded4Copy full SHA for 8d1ded4
array_api_tests/test_linalg.py
@@ -238,13 +238,12 @@ def test_inv(x):
238
assert res.shape == x.shape, "inv() did not return the correct shape"
239
assert res.dtype == x.dtype, "inv() did not return the correct dtype"
240
241
- _test_stacks(_array_module.linalg.inv, x, {}, res)
+ _test_stacks(_array_module.linalg.inv, x, res=res)
242
243
# TODO: Test that the result is actually the inverse
244
245
@given(
246
- x1=xps.arrays(dtype=xps.floating_dtypes(), shape=shapes),
247
- x2=xps.arrays(dtype=xps.floating_dtypes(), shape=shapes),
+ *two_mutual_arrays(numeric_dtype_objects)
248
)
249
def test_matmul(x1, x2):
250
if (x1.shape == () or x2.shape == ()
0 commit comments