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
16c8a54f
Verified
Commit
16c8a54f
authored
May 24, 2020
by
Justin Carpentier
Browse files
core: avoid boring warning
parent
0343c156
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/eigenpy/numpy-type.hpp
View file @
16c8a54f
...
@@ -32,7 +32,7 @@ namespace eigenpy
...
@@ -32,7 +32,7 @@ namespace eigenpy
template
<
typename
Scalar
>
template
<
typename
Scalar
>
bool
isNumpyNativeType
()
bool
isNumpyNativeType
()
{
{
if
(
NumpyEquivalentType
<
Scalar
>::
type_code
==
NPY_USERDEF
)
if
(
(
int
)
NumpyEquivalentType
<
Scalar
>::
type_code
==
NPY_USERDEF
)
return
false
;
return
false
;
return
true
;
return
true
;
}
}
...
...
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