From 6469775c68c5613cf3f54ba493173c17f2487e0d Mon Sep 17 00:00:00 2001 From: Justin Carpentier <justin.carpentier@inria.fr> Date: Fri, 19 Jul 2019 09:58:44 +0200 Subject: [PATCH] core: remove indent --- include/eigenpy/details.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/eigenpy/details.hpp b/include/eigenpy/details.hpp index 6a09db7..329ef5e 100644 --- a/include/eigenpy/details.hpp +++ b/include/eigenpy/details.hpp @@ -24,7 +24,7 @@ namespace eigenpy template <typename SCALAR> struct NumpyEquivalentType {}; template <> struct NumpyEquivalentType<double> { enum { type_code = NPY_DOUBLE };}; template <> struct NumpyEquivalentType<int> { enum { type_code = NPY_INT };}; - template <> struct NumpyEquivalentType<long> { enum { type_code = NPY_LONG };}; + template <> struct NumpyEquivalentType<long> { enum { type_code = NPY_LONG };}; template <> struct NumpyEquivalentType<float> { enum { type_code = NPY_FLOAT };}; template <typename SCALAR1, typename SCALAR2> @@ -281,7 +281,7 @@ namespace eigenpy /// \brief Determine if pyObj can be converted into a MatType object static void* convertible(PyArrayObject* pyArray) { - if (!PyArray_Check(pyArray)) + if(!PyArray_Check(pyArray)) return 0; if(MatType::IsVectorAtCompileTime) @@ -311,7 +311,7 @@ namespace eigenpy } } - if (PyArray_NDIM(pyArray) != 2) + if(PyArray_NDIM(pyArray) != 2) { if ( (PyArray_NDIM(pyArray) !=1) || (! MatType::IsVectorAtCompileTime) ) { @@ -322,7 +322,7 @@ namespace eigenpy } } - if (PyArray_NDIM(pyArray) == 2) + if(PyArray_NDIM(pyArray) == 2) { const int R = (int)PyArray_DIMS(pyArray)[0]; const int C = (int)PyArray_DIMS(pyArray)[1]; @@ -386,9 +386,9 @@ namespace eigenpy } #ifdef NPY_1_8_API_VERSION - if (!(PyArray_FLAGS(pyArray))) + if(!(PyArray_FLAGS(pyArray))) #else - if (!(PyArray_FLAGS(pyArray) & NPY_ALIGNED)) + if(!(PyArray_FLAGS(pyArray) & NPY_ALIGNED)) #endif { #ifndef NDEBUG -- GitLab