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
c6c66dcf
Verified
Commit
c6c66dcf
authored
Apr 01, 2020
by
Justin Carpentier
Browse files
core: rename RVALUE_FROM_PYTHON_DATA_INIT
parent
24350ab1
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/eigenpy/eigen-from-python.hpp
View file @
c6c66dcf
...
...
@@ -148,7 +148,7 @@ namespace boost { namespace python { namespace converter {
}
};
#define RVALUE_FROM_PYTHON_DATA_INIT(type) \
#define
EIGENPY_
RVALUE_FROM_PYTHON_DATA_INIT(type) \
typedef rvalue_from_python_data_eigen<type> Base; \
\
rvalue_from_python_data(rvalue_from_python_stage1_data const & _stage1) \
...
...
@@ -162,7 +162,7 @@ namespace boost { namespace python { namespace converter {
struct
rvalue_from_python_data
<
Eigen
::
MatrixBase
<
Derived
>
const
&>
:
rvalue_from_python_data_eigen
<
Derived
const
&>
{
RVALUE_FROM_PYTHON_DATA_INIT
(
Derived
const
&
)
EIGENPY_
RVALUE_FROM_PYTHON_DATA_INIT
(
Derived
const
&
)
};
/// \brief Template specialization of rvalue_from_python_data
...
...
@@ -170,7 +170,7 @@ namespace boost { namespace python { namespace converter {
struct
rvalue_from_python_data
<
Eigen
::
EigenBase
<
Derived
>
const
&>
:
rvalue_from_python_data_eigen
<
Derived
const
&>
{
RVALUE_FROM_PYTHON_DATA_INIT
(
Derived
const
&
)
EIGENPY_
RVALUE_FROM_PYTHON_DATA_INIT
(
Derived
const
&
)
};
template
<
typename
MatType
,
int
Options
,
typename
Stride
>
...
...
include/eigenpy/quaternion.hpp
View file @
c6c66dcf
...
...
@@ -19,7 +19,7 @@ namespace boost { namespace python { namespace converter {
struct
rvalue_from_python_data
<
Eigen
::
QuaternionBase
<
Quaternion
>
const
&>
:
rvalue_from_python_data_eigen
<
Quaternion
const
&>
{
RVALUE_FROM_PYTHON_DATA_INIT
(
Quaternion
const
&
)
EIGENPY_
RVALUE_FROM_PYTHON_DATA_INIT
(
Quaternion
const
&
)
};
template
<
class
Quaternion
>
...
...
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