Made sure that EIGEN_ALIGN is defined when EIGEN_DONT_VECTORIZE is set to true to prevent build failures when vectorization is disabled.

This commit is contained in:
Benoit Steiner 2014-03-21 11:40:29 -07:00
parent 8a0845ebd7
commit 72707a8664

View File

@ -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