aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2013-08-20 13:59:33 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2013-08-20 13:59:33 +0200
commit7bca2910c7922021ea447739eb0596f15790c891 (patch)
treef98b8f0b467eb10e3acdd22482b83a107eb24073 /Eigen/src/Core/util
parent2cf513e9734bcc3f7b38ae1939e5369d47d7a171 (diff)
Make the static assertions on maximal fixed size object use EIGEN_STACK_ALLOCATION_LIMIT, and raise its default value to 128KB
Diffstat (limited to 'Eigen/src/Core/util')
-rw-r--r--Eigen/src/Core/util/Macros.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h
index 7e5289cdd..95f9eb7d1 100644
--- a/Eigen/src/Core/util/Macros.h
+++ b/Eigen/src/Core/util/Macros.h
@@ -298,7 +298,8 @@
#endif
#ifndef EIGEN_STACK_ALLOCATION_LIMIT
-#define EIGEN_STACK_ALLOCATION_LIMIT 20000
+// 131072 == 128 KB
+#define EIGEN_STACK_ALLOCATION_LIMIT 131072
#endif
#ifndef EIGEN_DEFAULT_IO_FORMAT