improvements from clang-tidy

This commit is contained in:
Axel Kohlmeyer
2023-12-19 23:37:07 -05:00
parent 3237c30117
commit dedbd8f6db
16 changed files with 33 additions and 46 deletions

View File

@ -115,9 +115,9 @@ void NStencilMulti<HALF, DIM_3D, TRI>::create()
if (HALF && (!TRI)) {
if (half_flag) {
if (DIM_3D) {
if (! (k > 0 || j > 0 || (j == 0 && i > 0))) continue;
if (k <= 0 && j <= 0 && (j != 0 || i <= 0)) continue;
} else {
if (! (j > 0 || (j == 0 && i > 0))) continue;
if (j <= 0 && (j != 0 || i <= 0)) continue;
}
}
}