@@ -24,7 +24,7 @@ namespace eigenpy
2424 template <typename SCALAR> struct NumpyEquivalentType {};
2525 template <> struct NumpyEquivalentType <double > { enum { type_code = NPY_DOUBLE };};
2626 template <> struct NumpyEquivalentType <int > { enum { type_code = NPY_INT };};
27- template <> struct NumpyEquivalentType <long > { enum { type_code = NPY_LONG };};
27+ template <> struct NumpyEquivalentType <long > { enum { type_code = NPY_LONG };};
2828 template <> struct NumpyEquivalentType <float > { enum { type_code = NPY_FLOAT };};
2929
3030 template <typename SCALAR1, typename SCALAR2>
@@ -281,7 +281,7 @@ namespace eigenpy
281281 // / \brief Determine if pyObj can be converted into a MatType object
282282 static void * convertible (PyArrayObject* pyArray)
283283 {
284- if (!PyArray_Check (pyArray))
284+ if (!PyArray_Check (pyArray))
285285 return 0 ;
286286
287287 if (MatType::IsVectorAtCompileTime)
@@ -311,7 +311,7 @@ namespace eigenpy
311311 }
312312 }
313313
314- if (PyArray_NDIM (pyArray) != 2 )
314+ if (PyArray_NDIM (pyArray) != 2 )
315315 {
316316 if ( (PyArray_NDIM (pyArray) !=1 ) || (! MatType::IsVectorAtCompileTime) )
317317 {
@@ -322,7 +322,7 @@ namespace eigenpy
322322 }
323323 }
324324
325- if (PyArray_NDIM (pyArray) == 2 )
325+ if (PyArray_NDIM (pyArray) == 2 )
326326 {
327327 const int R = (int )PyArray_DIMS (pyArray)[0 ];
328328 const int C = (int )PyArray_DIMS (pyArray)[1 ];
@@ -386,9 +386,9 @@ namespace eigenpy
386386 }
387387
388388#ifdef NPY_1_8_API_VERSION
389- if (!(PyArray_FLAGS (pyArray)))
389+ if (!(PyArray_FLAGS (pyArray)))
390390#else
391- if (!(PyArray_FLAGS (pyArray) & NPY_ALIGNED))
391+ if (!(PyArray_FLAGS (pyArray) & NPY_ALIGNED))
392392#endif
393393 {
394394#ifndef NDEBUG
0 commit comments