Skip to content

Commit

Permalink
Testing CI for structured bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Jan 17, 2021
1 parent f91f02b commit e8c3899
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/attack_prediction.cpp
Expand Up @@ -875,8 +875,7 @@ void prob_matrix::clear()
continue;
}

decltype(used_rows_[p].begin()) first_row, last_row;
std::tie(first_row, last_row) = std::minmax_element(used_rows_[p].begin(), used_rows_[p].end());
auto [first_row, last_row] = std::minmax_element(used_rows_[p].begin(), used_rows_[p].end());
for(unsigned int r = *first_row; r <= *last_row; ++r) {
for(unsigned int c = 0u; c < cols_; ++c) {
plane_[p][r * cols_ + c] = 0.0;
Expand Down

0 comments on commit e8c3899

Please sign in to comment.