Skip to content

Commit a8980f8

Browse files
committed
core: remove useless code
1 parent 683b77c commit a8980f8

File tree

1 file changed

+2
-40
lines changed

1 file changed

+2
-40
lines changed

include/eigenpy/details.hpp

Lines changed: 2 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,21 @@
11
/*
22
* Copyright 2014-2019, CNRS
3-
* Copyright 2018-2020, INRIA
3+
* Copyright 2018-2023, INRIA
44
*/
55

66
#ifndef __eigenpy_details_hpp__
77
#define __eigenpy_details_hpp__
88

9+
#include "eigenpy/fwd.hpp"
910
#include "eigenpy/eigen-allocator.hpp"
1011
#include "eigenpy/eigen-from-python.hpp"
1112
#include "eigenpy/eigen-to-python.hpp"
1213
#include "eigenpy/eigenpy.hpp"
1314
#include "eigenpy/exception.hpp"
14-
#include "eigenpy/fwd.hpp"
1515
#include "eigenpy/numpy-type.hpp"
1616
#include "eigenpy/registration.hpp"
1717
#include "eigenpy/scalar-conversion.hpp"
1818

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-
5719
namespace eigenpy {
5820
template <typename MatType, typename EigenEquivalentType>
5921
EIGENPY_DEPRECATED void enableEigenPySpecific() {

0 commit comments

Comments
 (0)