Skip to content

Commit

Permalink
Merge pull request #2350 from su2code/fix_loop_variable
Browse files Browse the repository at this point in the history
Fix loop variable privatization
  • Loading branch information
jblueh authored Sep 5, 2024
2 parents 6285843 + a412038 commit 4f7a4c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SU2_CFD/src/python_wrapper_structure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void CSinglezoneDriver::SetInitialMesh() {
DynamicMeshUpdate(0);

SU2_OMP_PARALLEL {
for (iMesh = 0u; iMesh <= main_config->GetnMGLevels(); iMesh++) {
for (auto iMesh = 0u; iMesh <= main_config->GetnMGLevels(); iMesh++) {
SU2_OMP_FOR_STAT(roundUpDiv(geometry_container[selected_zone][INST_0][iMesh]->GetnPoint(), omp_get_max_threads()))
for (auto iPoint = 0ul; iPoint < geometry_container[selected_zone][INST_0][iMesh]->GetnPoint(); iPoint++) {
/*--- Overwrite fictitious velocities. ---*/
Expand Down

0 comments on commit 4f7a4c7

Please sign in to comment.