Skip to content
Snippets Groups Projects
Verified Commit 23a2cd3b authored by Justin Carpentier's avatar Justin Carpentier
Browse files

test: fix user type test according to NumPy version

parent c056226a
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,7 @@ def test(dtype):
assert not (mat < mat).all()
mat2 = mat.dot(mat.T)
if np.__version__ >= '1.17.0':
mat2 = np.matmul(mat,mat.T)
def test_cast(from_dtype,to_dtype):
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment