Skip to content

Commit 5f9cd9c

Browse files
author
rois1995
committed
- Fix compilation error
1 parent 0140f2f commit 5f9cd9c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Common/src/geometry/CPhysicalGeometry.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10559,9 +10559,10 @@ void CPhysicalGeometry::SetWallDistance(CADTElemClass* WallADT, const CConfig* c
1055910559

1056010560
WallADT->DetermineNearestElement(nodes->GetCoord(iPoint), dist, markerID, elemID, rankID);
1056110561

10562-
if (nodes->GetWall_Distance(iPoint) == 0) dist = 0;
10562+
// if (nodes->GetWall_Distance(iPoint) == 0) dist = 0;
1056310563

10564-
if (dist < nodes->GetWall_Distance(iPoint) || dist == 0) {
10564+
// if (dist < nodes->GetWall_Distance(iPoint) || dist == 0) {
10565+
if (dist < nodes->GetWall_Distance(iPoint)) {
1056510566
nodes->SetWall_Distance(iPoint, dist, rankID, iZone, markerID, elemID);
1056610567
}
1056710568
}

0 commit comments

Comments
 (0)