From defe03304ce4e2565e9b89bd18955acf89db745c Mon Sep 17 00:00:00 2001 From: Justin Carpentier <justin.carpentier@inria.fr> Date: Fri, 21 Feb 2020 09:21:48 +0100 Subject: [PATCH] core: move function --- include/eigenpy/details.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/eigenpy/details.hpp b/include/eigenpy/details.hpp index 9a43df4b..22110af0 100644 --- a/include/eigenpy/details.hpp +++ b/include/eigenpy/details.hpp @@ -514,13 +514,6 @@ namespace eigenpy } }; - template<typename MatType,typename EigenEquivalentType> - EIGENPY_DEPRECATED - void enableEigenPySpecific() - { - enableEigenPySpecific<MatType>(); - } - template<typename MatType> struct EigenFromPyConverter { @@ -582,6 +575,13 @@ namespace eigenpy #define numpy_import_array() {if (_import_array() < 0) {PyErr_Print(); PyErr_SetString(PyExc_ImportError, "numpy.core.multiarray failed to import"); } } + template<typename MatType,typename EigenEquivalentType> + EIGENPY_DEPRECATED + void enableEigenPySpecific() + { + enableEigenPySpecific<MatType>(); + } + template<typename MatType> void enableEigenPySpecific() { -- GitLab