We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89d7e5b commit 9fbe990Copy full SHA for 9fbe990
array_api_tests/test_linalg.py
@@ -271,7 +271,7 @@ def test_matmul(x1, x2):
271
else:
272
res = _array_module.matmul(x1, x2)
273
274
- assert res.dtype == dh.promotion_table[x1, x2], "matmul() did not return the correct dtype"
+ assert res.dtype == dh.promotion_table[x1.dtype, x2.dtype], "matmul() did not return the correct dtype"
275
276
if len(x1.shape) == len(x2.shape) == 1:
277
assert res.shape == ()
0 commit comments