mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
Updated one more line of code to avoid making the test dependent on cxx11 features.
This commit is contained in:
parent
43d9dd9b28
commit
ff8e0ecc2f
@ -143,7 +143,8 @@ static void UpdateCoeffSet(
|
||||
|
||||
for (int i = 0; i < block_sizes[dim_index]; ++i) {
|
||||
if (tensor_strides[dim_index] == 1) {
|
||||
auto inserted = visited_coeffs->insert(first_coeff_index + i);
|
||||
typedef std::pair<std::set<Index>::iterator, bool> ReturnType;
|
||||
ReturnType inserted = visited_coeffs->insert(first_coeff_index + i);
|
||||
VERIFY_IS_EQUAL(inserted.second, true);
|
||||
} else {
|
||||
int next_dim_index = dim_index + choose(Layout, -1, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user