diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-01-28 20:52:08 -0800 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-01-28 20:52:08 -0800 |
commit | 10bea90c4add286b8d10473ba272660ef4210083 (patch) | |
tree | 59d6beaae2c0b7ef01ad384c0072b4a0749e957f /bench/tensors | |
parent | d3f533b395e56b740c9f7c6f7272d3384c10222a (diff) |
Fixed clang related compilation error
Diffstat (limited to 'bench/tensors')
-rw-r--r-- | bench/tensors/tensor_benchmarks.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <typename Device> class BenchmarkSuite { TensorMap<Tensor<float, 1, 0, TensorIndex>, Eigen::Aligned> C(c_, output_size); #ifndef EIGEN_HAS_INDEX_LIST - const Eigen::array<TensorIndex, 1> sum_along_dim(0); + const Eigen::array<TensorIndex, 1> sum_along_dim = {{0}}; #else // Take advantage of cxx11 to give the compiler information it can use to // optimize the code. |