Skip to content
Snippets Groups Projects
Commit 93d0450d authored by Justin Carpentier's avatar Justin Carpentier
Browse files

core: add missing specialization of rvalue_from_python_data

parent 759f9af1
No related branches found
No related tags found
No related merge requests found
Pipeline #25945 failed
......@@ -31,6 +31,15 @@ struct expected_pytype_for_arg<Eigen::Tensor<Scalar, Rank, Options, IndexType> >
: eigenpy::expected_pytype_for_arg<
Eigen::Tensor<Scalar, Rank, Options, IndexType> > {};
template <typename Scalar, int Rank, int Options, typename IndexType>
struct rvalue_from_python_data<
Eigen::Tensor<Scalar, Rank, Options, IndexType> const &>
: ::eigenpy::rvalue_from_python_data<
Eigen::Tensor<Scalar, Rank, Options, IndexType> const &> {
typedef Eigen::Tensor<Scalar, Rank, Options, IndexType> T;
EIGENPY_RVALUE_FROM_PYTHON_DATA_INIT(T const &)
};
template <typename Derived>
struct rvalue_from_python_data<Eigen::TensorBase<Derived> const &>
: ::eigenpy::rvalue_from_python_data<Derived const &> {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment