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
024de8e8
Verified
Commit
024de8e8
authored
May 05, 2020
by
Justin Carpentier
Browse files
core: fix cast for Win32
parent
382ca0a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/eigenpy/user-type.hpp
View file @
024de8e8
...
...
@@ -187,7 +187,7 @@ namespace eigenpy
PyArray_SetItemFunc
*
setitem
=
&
internal
::
SpecialMethods
<
Scalar
>::
setitem
;
PyArray_NonzeroFunc
*
nonzero
=
&
internal
::
SpecialMethods
<
Scalar
>::
nonzero
;
PyArray_CopySwapFunc
*
copyswap
=
&
internal
::
SpecialMethods
<
Scalar
>::
copyswap
;
PyArray_CopySwapNFunc
*
copyswapn
=
&
internal
::
SpecialMethods
<
Scalar
>::
copyswapn
;
PyArray_CopySwapNFunc
*
copyswapn
=
reinterpret_cast
<
PyArray_CopySwapNFunc
*>
(
&
internal
::
SpecialMethods
<
Scalar
>::
copyswapn
)
;
PyArray_DotFunc
*
dotfunc
=
&
internal
::
SpecialMethods
<
Scalar
>::
dotfunc
;
// PyArray_CastFunc * cast = &internal::SpecialMethods<Scalar>::cast;
...
...
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