Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
eigenpy
Commits
0edfff96
Verified
Commit
0edfff96
authored
Aug 03, 2021
by
Justin Carpentier
Browse files
test/user_types: enforce testing of matmul operation
parent
4d7cb520
Changes
1
Hide whitespace changes
Inline
Side-by-side
unittest/python/test_user_type.py
View file @
0edfff96
...
...
@@ -32,6 +32,9 @@ def test(dtype):
assert
not
(
mat
>
mat
).
all
()
assert
not
(
mat
<
mat
).
all
()
mat2
=
mat
.
dot
(
mat
.
T
)
mat2
=
np
.
matmul
(
mat
,
mat
.
T
)
def
test_cast
(
from_dtype
,
to_dtype
):
np
.
can_cast
(
from_dtype
,
to_dtype
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment