We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2451ff4 commit 81e364cCopy full SHA for 81e364c
include/eigenpy/details.hpp
@@ -20,6 +20,24 @@
20
21
#define GET_PY_ARRAY_TYPE(array) PyArray_ObjectType(reinterpret_cast<PyObject *>(array), 0)
22
23
+namespace boost { namespace python { namespace detail {
24
+
25
+ template<class MatType>
26
+ struct referent_size<Eigen::MatrixBase<MatType>&>
27
+ {
28
+ BOOST_STATIC_CONSTANT(
29
+ std::size_t, value = sizeof(MatType));
30
+ };
31
32
33
+ struct referent_size<Eigen::EigenBase<MatType>&>
34
35
36
37
38
39
+}}}
40
41
namespace eigenpy
42
{
43
template <typename SCALAR> struct NumpyEquivalentType {};
0 commit comments