aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/test/cxx11_tensor_assign.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-05-20 15:05:38 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-05-20 15:05:38 +0200
commitc3410804cdaa8d4ce16d8269e86228eb8a2caf3b (patch)
tree46bd230f018dce918b3d834ac90d498b90db1297 /unsupported/test/cxx11_tensor_assign.cpp
parentabd1c1af7a568b067ca8cec8b8345a7a6f9d2c28 (diff)
Make EIGEN_HAS_VARIADIC_TEMPLATES user configurable
Diffstat (limited to 'unsupported/test/cxx11_tensor_assign.cpp')
-rw-r--r--unsupported/test/cxx11_tensor_assign.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/test/cxx11_tensor_assign.cpp b/unsupported/test/cxx11_tensor_assign.cpp
index e5cf61fe1..8fe85d83c 100644
--- a/unsupported/test/cxx11_tensor_assign.cpp
+++ b/unsupported/test/cxx11_tensor_assign.cpp
@@ -286,7 +286,7 @@ static void test_compound_assign()
}
static void test_std_initializers_tensor() {
-#ifdef EIGEN_HAS_VARIADIC_TEMPLATES
+#if EIGEN_HAS_VARIADIC_TEMPLATES
Tensor<int, 1> a(3);
a.setValues({0, 1, 2});
VERIFY_IS_EQUAL(a(0), 0);