Skip to content
Snippets Groups Projects
Verified Commit 45f2aadd authored by Justin Carpentier's avatar Justin Carpentier
Browse files

compilation: try a fix for windows

parent ecd8a5ee
No related branches found
No related tags found
No related merge requests found
......@@ -290,8 +290,10 @@ struct eigen_from_py_impl<MatType, Eigen::MatrixBase<MatType> > {
static void registration();
};
template <typename EigenType, typename _Scalar>
struct EigenFromPy : eigen_from_py_impl<EigenType> {};
template <typename EigenType>
struct EigenFromPy<EigenType,
typename boost::remove_reference<EigenType>::type::Scalar>
: eigen_from_py_impl<EigenType> {};
template <typename MatType>
void *eigen_from_py_impl<MatType, Eigen::MatrixBase<MatType> >::convertible(
......
......@@ -155,8 +155,10 @@ struct eigen_to_py_impl_tensor {
EIGENPY_DOCUMENTATION_END_IGNORE
template <typename EigenType, typename Scalar>
struct EigenToPy : eigen_to_py_impl<EigenType> {
template <typename EigenType>
struct EigenToPy<EigenType,
typename boost::remove_reference<EigenType>::type::Scalar>
: eigen_to_py_impl<EigenType> {
static PyTypeObject const* get_pytype() { return getPyArrayType(); }
};
......
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