diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2018-08-24 23:56:13 +0200 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2018-08-24 23:56:13 +0200 |
commit | 495f6c3c3a93767832f962bf5426b25125917f78 (patch) | |
tree | 1a7d96e84723112a93e86c2f94d6575fb1e05ba4 /unsupported/test/cxx11_tensor_convolution.cpp | |
parent | 5aaedbecedb6702c5102e13a54d5908b8964174b (diff) |
Fix missing-braces warnings
Diffstat (limited to 'unsupported/test/cxx11_tensor_convolution.cpp')
-rw-r--r-- | unsupported/test/cxx11_tensor_convolution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/test/cxx11_tensor_convolution.cpp b/unsupported/test/cxx11_tensor_convolution.cpp index 9fe980648..01bc77bc1 100644 --- a/unsupported/test/cxx11_tensor_convolution.cpp +++ b/unsupported/test/cxx11_tensor_convolution.cpp @@ -25,7 +25,7 @@ static void test_evals() Tensor<float, 2, DataLayout> result(2,3); result.setZero(); - Eigen::array<Tensor<float, 2>::Index, 1> dims3{0}; + Eigen::array<Tensor<float, 2>::Index, 1> dims3{{0}}; typedef TensorEvaluator<decltype(input.convolve(kernel, dims3)), DefaultDevice> Evaluator; Evaluator eval(input.convolve(kernel, dims3), DefaultDevice()); |