mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
Don't use bracket syntax in ctor.
This commit is contained in:
parent
3d057e0453
commit
d0eef5fe6c
@ -25,7 +25,8 @@ 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;
|
||||
dims3[0] = 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