Skip to content

Commit

Permalink
nolint loops
Browse files Browse the repository at this point in the history
  • Loading branch information
alfC committed Oct 12, 2024
1 parent 6cc3a37 commit 4a4f8de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/transform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@ auto main() -> int { // NOLINT(readability-function-cognitive-complexity,bugpro
multi::array<int, 2> Arr({100, 200}, 1);

multi::array<int, 1> vv({200}, 0);
for(auto i : Arr.extension()) {
for(auto j : vv.extension()) {
for(auto i : Arr.extension()) { // NOLINT(altera-unroll-loops)
for(auto j : vv.extension()) { // NOLINT(altera-unroll-loops)
vv[j] += Arr[i][j];
}
}
Expand Down

0 comments on commit 4a4f8de

Please sign in to comment.