aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-02-09 10:32:01 -0800
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-02-09 10:32:01 -0800
commit5cc0dd5f44248db2df03274dc0ddf7b8bb60804a (patch)
tree47c341b811add03b6ec3a5351910fdf362117958
parentd69946183d021c42c2670c61c3131d208f1221f4 (diff)
Fixed the code that disables the use of variadic templates when compiling with nvcc on ARM devices.
-rw-r--r--Eigen/src/Core/util/Macros.h2
1 files changed, 1 insertions, 1 deletions
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