aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2014-03-21 11:40:29 -0700
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2014-03-21 11:40:29 -0700
commit72707a86641ad0bd4c4e5cc45c4b8ced64b499ef (patch)
tree260114cfa90d474f6140c0f26e893efca95f866c
parent8a0845ebd726182fb9454f8874307290f8e09164 (diff)
Made sure that EIGEN_ALIGN is defined when EIGEN_DONT_VECTORIZE is set to true to prevent build failures when vectorization is disabled.
-rw-r--r--Eigen/src/Core/util/Macros.h2
1 files changed, 2 insertions, 0 deletions
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