Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for the clang-tidy check bugprone-narrowing-conversions #58

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

itopcuoglu
Copy link
Collaborator

No description provided.

for (int k = xmin[1] / mapdx[1]; k <= xmax[1] / mapdx[1]; k++) {
for (int l = xmin[2] / mapdx[2]; l <= xmax[2] / mapdx[2];
l++) {
for (int j = static_cast<int>(xmin[0] / mapdx[0]);

Check notice

Code scanning / CodeQL

Declaration hides variable Note

Variable j hides another variable of the same name (on
line 168
).
l++) {
for (int j = static_cast<int>(xmin[0] / mapdx[0]);
j <= xmax[0] / mapdx[0]; j++) {
for (int k = static_cast<int>(xmin[1] / mapdx[1]);

Check notice

Code scanning / CodeQL

Declaration hides variable Note

Variable k hides another variable of the same name (on
line 168
).
@itopcuoglu itopcuoglu merged commit cbff545 into Exawind:exawind Aug 1, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant