From 5cc0dd5f44248db2df03274dc0ddf7b8bb60804a Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Tue, 9 Feb 2016 10:32:01 -0800 Subject: [PATCH] Fixed the code that disables the use of variadic templates when compiling with nvcc on ARM devices. --- Eigen/src/Core/util/Macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index 1993cb8ec..c11251fcb 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -356,7 +356,7 @@ #if __cplusplus > 199711L // Disable the use of variadic templates when compiling with nvcc on ARM devices: // this prevents nvcc from crashing when compiling Eigen on Tegra X1 -#if !defined(__NVCC__) || !defined(EIGEN_ARCH_ARM_OR_ARM64) +#if !defined(__NVCC__) || !EIGEN_ARCH_ARM_OR_ARM64 #define EIGEN_HAS_VARIADIC_TEMPLATES 1 #endif #endif