Skip to content

Commit 581a6b3

Browse files
committed
fix function ending problem
1 parent 7eb9406 commit 581a6b3

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Common/src/CConfig.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7803,12 +7803,13 @@ bool CConfig::GetViscous_Wall(unsigned short iMarker) const {
78037803

78047804
bool CConfig::GetCatalytic_Wall(unsigned short iMarker) const {
78057805

7806+
bool catalytic = false;
78067807
for (unsigned short iMarker_Catalytic = 0; iMarker_Catalytic < nWall_Catalytic; iMarker_Catalytic++){
7807-
78087808
string Catalytic_Tag = Wall_Catalytic[iMarker_Catalytic];
7809-
7810-
return (Catalytic_Tag == Marker_All_TagBound[iMarker]);
7809+
if (Catalytic_Tag == Marker_All_TagBound[iMarker]) { catalytic = true; break; }
78117810
}
7811+
7812+
return catalytic;
78127813
}
78137814

78147815
bool CConfig::GetSolid_Wall(unsigned short iMarker) const {

0 commit comments

Comments
 (0)