|
1 | 1 | /* |
2 | 2 | * Copyright 2014-2019, CNRS |
3 | | - * Copyright 2018-2020, INRIA |
| 3 | + * Copyright 2018-2023, INRIA |
4 | 4 | */ |
5 | 5 |
|
6 | 6 | #ifndef __eigenpy_details_hpp__ |
7 | 7 | #define __eigenpy_details_hpp__ |
8 | 8 |
|
| 9 | +#include "eigenpy/fwd.hpp" |
9 | 10 | #include "eigenpy/eigen-allocator.hpp" |
10 | 11 | #include "eigenpy/eigen-from-python.hpp" |
11 | 12 | #include "eigenpy/eigen-to-python.hpp" |
12 | 13 | #include "eigenpy/eigenpy.hpp" |
13 | 14 | #include "eigenpy/exception.hpp" |
14 | | -#include "eigenpy/fwd.hpp" |
15 | 15 | #include "eigenpy/numpy-type.hpp" |
16 | 16 | #include "eigenpy/registration.hpp" |
17 | 17 | #include "eigenpy/scalar-conversion.hpp" |
18 | 18 |
|
19 | | -namespace boost { |
20 | | -namespace python { |
21 | | -namespace detail { |
22 | | - |
23 | | -template <class MatType> |
24 | | -struct referent_size<Eigen::MatrixBase<MatType>&> { |
25 | | - BOOST_STATIC_CONSTANT(std::size_t, value = sizeof(MatType)); |
26 | | -}; |
27 | | - |
28 | | -template <class MatType> |
29 | | -struct referent_size<Eigen::MatrixBase<MatType> > { |
30 | | - BOOST_STATIC_CONSTANT(std::size_t, value = sizeof(MatType)); |
31 | | -}; |
32 | | - |
33 | | -template <class MatType> |
34 | | -struct referent_size<Eigen::EigenBase<MatType>&> { |
35 | | - BOOST_STATIC_CONSTANT(std::size_t, value = sizeof(MatType)); |
36 | | -}; |
37 | | - |
38 | | -template <class MatType> |
39 | | -struct referent_size<Eigen::EigenBase<MatType> > { |
40 | | - BOOST_STATIC_CONSTANT(std::size_t, value = sizeof(MatType)); |
41 | | -}; |
42 | | - |
43 | | -template <class MatType> |
44 | | -struct referent_size<Eigen::PlainObjectBase<MatType>&> { |
45 | | - BOOST_STATIC_CONSTANT(std::size_t, value = sizeof(MatType)); |
46 | | -}; |
47 | | - |
48 | | -template <class MatType> |
49 | | -struct referent_size<Eigen::PlainObjectBase<MatType> > { |
50 | | - BOOST_STATIC_CONSTANT(std::size_t, value = sizeof(MatType)); |
51 | | -}; |
52 | | - |
53 | | -} // namespace detail |
54 | | -} // namespace python |
55 | | -} // namespace boost |
56 | | - |
57 | 19 | namespace eigenpy { |
58 | 20 | template <typename MatType, typename EigenEquivalentType> |
59 | 21 | EIGENPY_DEPRECATED void enableEigenPySpecific() { |
|
0 commit comments