Skip to content

Commit 0edfff9

Browse files
committed
test/user_types: enforce testing of matmul operation
1 parent 4d7cb52 commit 0edfff9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

unittest/python/test_user_type.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ def test(dtype):
3232
assert not (mat > mat).all()
3333
assert not (mat < mat).all()
3434

35+
mat2 = mat.dot(mat.T)
36+
mat2 = np.matmul(mat,mat.T)
37+
3538
def test_cast(from_dtype,to_dtype):
3639
np.can_cast(from_dtype,to_dtype)
3740

0 commit comments

Comments
 (0)