aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-04-17 11:29:25 -0400
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-04-17 11:29:25 -0400
commitba5b5f6a4b9b446c62eea43a2bd92e43a9dae8fe (patch)
tree48c54f1d474f47d0ca8cabb86e6a61db39719267 /Eigen/src/Core
parentcc33a5614018db36f7888a7c36b767563b50bb92 (diff)
fix compilation
Diffstat (limited to 'Eigen/src/Core')
-rw-r--r--Eigen/src/Core/util/Memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/Memory.h b/Eigen/src/Core/util/Memory.h
index e8af03144..f5cdd915a 100644
--- a/Eigen/src/Core/util/Memory.h
+++ b/Eigen/src/Core/util/Memory.h
@@ -425,7 +425,7 @@ inline static Integer ei_first_aligned(const Scalar* array, Integer size)
* \endcode
*/
#if (defined __linux__)
- #define ei_aligned_stack_alloc(SIZE) (SIZE<=EI GEN_STACK_ALLOCATION_LIMIT) \
+ #define ei_aligned_stack_alloc(SIZE) (SIZE<=EIGEN_STACK_ALLOCATION_LIMIT) \
? alloca(SIZE) \
: ei_aligned_malloc(SIZE)
#define ei_aligned_stack_free(PTR,SIZE) if(SIZE>EIGEN_STACK_ALLOCATION_LIMIT) ei_aligned_free(PTR)