From db84212f60debea0010c3007cc9cbde0cdccda38 Mon Sep 17 00:00:00 2001
From: Justin Carpentier <justin.carpentier@inria.fr>
Date: Mon, 24 Feb 2020 00:33:43 +0100
Subject: [PATCH] core: fix EIGENPY_DEFAULT_ALIGNMENT_VALUE

---
 include/eigenpy/fwd.hpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/eigenpy/fwd.hpp b/include/eigenpy/fwd.hpp
index 3bc5937d..3dfa9b15 100644
--- a/include/eigenpy/fwd.hpp
+++ b/include/eigenpy/fwd.hpp
@@ -14,15 +14,11 @@
   #include "eigenpy/numpy.hpp"
 #undef NO_IMPORT_ARRAY
 
-#ifdef NPY_ALIGNED
 #if EIGEN_VERSION_AT_LEAST(3,2,90)
   #define EIGENPY_DEFAULT_ALIGNMENT_VALUE Eigen::Aligned16
 #else
   #define EIGENPY_DEFAULT_ALIGNMENT_VALUE Eigen::Aligned
 #endif
-#else
-  #define EIGENPY_DEFAULT_ALIGNMENT_VALUE Eigen::Unaligned
-#endif
 
 #include "eigenpy/expose.hpp"
 
-- 
GitLab