diff options
author | Gael Guennebaud <g.gael@free.fr> | 2017-02-03 15:22:35 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2017-02-03 15:22:35 +0100 |
commit | 4254b3eda34346a28518f6b2b6a8ff8c8368d3d3 (patch) | |
tree | 1ca988fec9f297408ed91118d7d6831e96a512d0 /Eigen/StdVector | |
parent | 442e9cbb307ece9225a061a5661909a47737585e (diff) |
bug #1389: MSVC's std containers do not properly align in 64 bits mode if the requested alignment is larger than 16 bytes (e.g., with AVX)
Diffstat (limited to 'Eigen/StdVector')
-rw-r--r-- | Eigen/StdVector | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/StdVector b/Eigen/StdVector index fdfc37766..0c4697ad5 100644 --- a/Eigen/StdVector +++ b/Eigen/StdVector @@ -14,7 +14,7 @@ #include "Core" #include <vector> -#if EIGEN_COMP_MSVC && EIGEN_OS_WIN64 /* MSVC auto aligns in 64 bit builds */ +#if EIGEN_COMP_MSVC && EIGEN_OS_WIN64 && (EIGEN_MAX_STATIC_ALIGN_BYTES<=16) /* MSVC auto aligns up to 16 bytes in 64 bit builds */ #define EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION(...) |