Skip to content
GitLab
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
121f6e76
Verified
Commit
121f6e76
authored
Dec 28, 2020
by
Justin Carpentier
Browse files
test: print type code value
parent
b083d753
Changes
1
Hide whitespace changes
Inline
Side-by-side
unittest/user_type.cpp
View file @
121f6e76
...
...
@@ -89,7 +89,8 @@ void expose_custom_type(const std::string & name)
.
def
(
"__repr__"
,
&
Type
::
print
)
;
eigenpy
::
registerNewType
<
Type
>
();
int
code
=
eigenpy
::
registerNewType
<
Type
>
();
std
::
cout
<<
"code: "
<<
code
<<
std
::
endl
;
eigenpy
::
registerCommonUfunc
<
Type
>
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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