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

core: remove useless code

parent 683b77ca
No related branches found
No related tags found
No related merge requests found
/* /*
* Copyright 2014-2019, CNRS * Copyright 2014-2019, CNRS
* Copyright 2018-2020, INRIA * Copyright 2018-2023, INRIA
*/ */
#ifndef __eigenpy_details_hpp__ #ifndef __eigenpy_details_hpp__
#define __eigenpy_details_hpp__ #define __eigenpy_details_hpp__
#include "eigenpy/fwd.hpp"
#include "eigenpy/eigen-allocator.hpp" #include "eigenpy/eigen-allocator.hpp"
#include "eigenpy/eigen-from-python.hpp" #include "eigenpy/eigen-from-python.hpp"
#include "eigenpy/eigen-to-python.hpp" #include "eigenpy/eigen-to-python.hpp"
#include "eigenpy/eigenpy.hpp" #include "eigenpy/eigenpy.hpp"
#include "eigenpy/exception.hpp" #include "eigenpy/exception.hpp"
#include "eigenpy/fwd.hpp"
#include "eigenpy/numpy-type.hpp" #include "eigenpy/numpy-type.hpp"
#include "eigenpy/registration.hpp" #include "eigenpy/registration.hpp"
#include "eigenpy/scalar-conversion.hpp" #include "eigenpy/scalar-conversion.hpp"
namespace boost {
namespace python {
namespace detail {
template <class MatType>
struct referent_size<Eigen::MatrixBase<MatType>&> {
BOOST_STATIC_CONSTANT(std::size_t, value = sizeof(MatType));
};
template <class MatType>
struct referent_size<Eigen::MatrixBase<MatType> > {
BOOST_STATIC_CONSTANT(std::size_t, value = sizeof(MatType));
};
template <class MatType>
struct referent_size<Eigen::EigenBase<MatType>&> {
BOOST_STATIC_CONSTANT(std::size_t, value = sizeof(MatType));
};
template <class MatType>
struct referent_size<Eigen::EigenBase<MatType> > {
BOOST_STATIC_CONSTANT(std::size_t, value = sizeof(MatType));
};
template <class MatType>
struct referent_size<Eigen::PlainObjectBase<MatType>&> {
BOOST_STATIC_CONSTANT(std::size_t, value = sizeof(MatType));
};
template <class MatType>
struct referent_size<Eigen::PlainObjectBase<MatType> > {
BOOST_STATIC_CONSTANT(std::size_t, value = sizeof(MatType));
};
} // namespace detail
} // namespace python
} // namespace boost
namespace eigenpy { namespace eigenpy {
template <typename MatType, typename EigenEquivalentType> template <typename MatType, typename EigenEquivalentType>
EIGENPY_DEPRECATED void enableEigenPySpecific() { EIGENPY_DEPRECATED void enableEigenPySpecific() {
......
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