From 10bea90c4add286b8d10473ba272660ef4210083 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Thu, 28 Jan 2016 20:52:08 -0800 Subject: Fixed clang related compilation error --- bench/tensors/tensor_benchmarks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bench') diff --git a/bench/tensors/tensor_benchmarks.h b/bench/tensors/tensor_benchmarks.h index 365504009..f3ec70a9e 100644 --- a/bench/tensors/tensor_benchmarks.h +++ b/bench/tensors/tensor_benchmarks.h @@ -259,7 +259,7 @@ template class BenchmarkSuite { TensorMap, Eigen::Aligned> C(c_, output_size); #ifndef EIGEN_HAS_INDEX_LIST - const Eigen::array sum_along_dim(0); + const Eigen::array sum_along_dim = {{0}}; #else // Take advantage of cxx11 to give the compiler information it can use to // optimize the code. -- cgit v1.2.3