mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-10 10:49:04 +08:00
Avoid compilation error in C++11 test when EIGEN_AVOID_STL_ARRAY is set.
This commit is contained in:
parent
c6066ac411
commit
3d057e0453
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user