mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fix compilation
This commit is contained in:
@@ -425,7 +425,7 @@ inline static Integer ei_first_aligned(const Scalar* array, Integer size)
|
|||||||
* \endcode
|
* \endcode
|
||||||
*/
|
*/
|
||||||
#if (defined __linux__)
|
#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) \
|
? alloca(SIZE) \
|
||||||
: ei_aligned_malloc(SIZE)
|
: ei_aligned_malloc(SIZE)
|
||||||
#define ei_aligned_stack_free(PTR,SIZE) if(SIZE>EIGEN_STACK_ALLOCATION_LIMIT) ei_aligned_free(PTR)
|
#define ei_aligned_stack_free(PTR,SIZE) if(SIZE>EIGEN_STACK_ALLOCATION_LIMIT) ei_aligned_free(PTR)
|
||||||
|
|||||||
Reference in New Issue
Block a user