diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index 252d2be43..2837b7754 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -51,11 +51,7 @@ #ifndef EIGEN_STACK_ALLOCATION_LIMIT // 131072 == 128 KB -#if defined(__AVX512F__) - #define EIGEN_STACK_ALLOCATION_LIMIT 0 -#else - #define EIGEN_STACK_ALLOCATION_LIMIT 16384 -#endif +#define EIGEN_STACK_ALLOCATION_LIMIT 131072 #endif //------------------------------------------------------------------------------------------