From 72707a86641ad0bd4c4e5cc45c4b8ced64b499ef Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Fri, 21 Mar 2014 11:40:29 -0700 Subject: [PATCH] Made sure that EIGEN_ALIGN is defined when EIGEN_DONT_VECTORIZE is set to true to prevent build failures when vectorization is disabled. --- Eigen/src/Core/util/Macros.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index 733d3403e..bfd6ba7de 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -82,6 +82,8 @@ #define EIGEN_ALIGN_BYTES 32 #endif #define EIGEN_ALIGN 1 +#else + #define EIGEN_ALIGN 0 #endif // EIGEN_ALIGN_STATICALLY is the true test whether we want to align arrays on the stack or not. It takes into account both the user choice to explicitly disable