mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 11:19:02 +08:00
Fixed compilation warnings
This commit is contained in:
parent
cf1eea11de
commit
37357a310f
@ -94,9 +94,9 @@ static void test_slices()
|
||||
}
|
||||
}
|
||||
|
||||
const Eigen::DSizes<ptrdiff_t, 2> half_size{{2, 3}};
|
||||
const Eigen::DSizes<ptrdiff_t, 2> first_half{{0, 0}};
|
||||
const Eigen::DSizes<ptrdiff_t, 2> second_half{{0, 3}};
|
||||
const Eigen::DSizes<ptrdiff_t, 2> half_size(2, 3);
|
||||
const Eigen::DSizes<ptrdiff_t, 2> first_half(0, 0);
|
||||
const Eigen::DSizes<ptrdiff_t, 2> second_half(0, 3);
|
||||
|
||||
Tensor<std::string, 2> t1 = data.slice(first_half, half_size);
|
||||
Tensor<std::string, 2> t2 = data.slice(second_half, half_size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user