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
ec2e073b
Verified
Commit
ec2e073b
authored
Jul 30, 2021
by
Justin Carpentier
Browse files
types: raise exception when needed
parent
10db4284
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/eigenpy/user-type.hpp
View file @
ec2e073b
...
...
@@ -109,6 +109,10 @@ namespace eigenpy
if
(
array_scalar_type
!=
src_obj_type
)
{
std
::
stringstream
ss
;
ss
<<
"The input type is of wrong type. "
;
ss
<<
"The expected type is "
<<
bp
::
type_info
(
typeid
(
T
)).
name
()
<<
std
::
endl
;
eigenpy
::
Exception
(
ss
.
str
());
return
-
1
;
}
...
...
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