mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 03:39:01 +08:00
Fixed compilation warning
This commit is contained in:
parent
0fd6d52724
commit
5144f66728
@ -206,7 +206,7 @@ static void test_nested_ops_with_ref()
|
||||
paddings[1] = std::make_pair(2, 1);
|
||||
paddings[2] = std::make_pair(3, 4);
|
||||
paddings[3] = std::make_pair(0, 0);
|
||||
DSizes<Eigen::DenseIndex, 4> shuffle_dims{0, 1, 2, 3};
|
||||
DSizes<Eigen::DenseIndex, 4> shuffle_dims(0, 1, 2, 3);
|
||||
TensorRef<Tensor<const float, 4> > ref(m.pad(paddings));
|
||||
array<std::pair<ptrdiff_t, ptrdiff_t>, 4> trivial;
|
||||
trivial[0] = std::make_pair(0, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user