Skip to content

Commit 8802c66

Browse files
committed
Different loop schedule to fix suspected false positives.
1 parent 3fa5caa commit 8802c66

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Common/src/geometry/CPhysicalGeometry.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10577,7 +10577,11 @@ void CPhysicalGeometry::SetWallDistance(CADTElemClass* WallADT, const CConfig* c
1057710577

1057810578
SU2_OMP_PARALLEL
1057910579
{
10580+
#ifdef __SANITIZE_THREAD__
10581+
SU2_OMP_FOR_()
10582+
#else
1058010583
SU2_OMP_FOR_DYN(roundUpDiv(nPoint, 2 * omp_get_max_threads()))
10584+
#endif
1058110585
for (unsigned long iPoint = 0; iPoint < GetnPoint(); ++iPoint) {
1058210586
unsigned short markerID;
1058310587
unsigned long elemID;

0 commit comments

Comments
 (0)