Skip to content

Commit d5b43fa

Browse files
authored
Apply suggestions from code review
1 parent 16d7e01 commit d5b43fa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

SU2_CFD/src/output/CFlowOutput.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ void CFlowOutput::Set_NearfieldInverseDesign(CSolver *solver, const CGeometry *g
10701070
else
10711071
NearFieldEA_file << "VARIABLES = \"Height (m) at r="<< R_Plane << " m. (cylindrical coordinate system)\"";
10721072

1073-
for (unsigned short iPhiAngle = 0; iPhiAngle < PhiAngleList.size(); iPhiAngle++) {
1073+
for (unsigned long iPhiAngle = 0; iPhiAngle < PhiAngleList.size(); iPhiAngle++) {
10741074
if (config->GetSystemMeasurements() == US)
10751075
NearFieldEA_file << ", \"Equivalent Area (ft<sup>2</sup>), <greek>F</greek>= " << PhiAngleList[iPhiAngle] << " deg.\"";
10761076
else
@@ -1088,7 +1088,7 @@ void CFlowOutput::Set_NearfieldInverseDesign(CSolver *solver, const CGeometry *g
10881088
else
10891089
NearFieldEA_file << scientific << (XcoordRot - XcoordRot_init);
10901090

1091-
for (unsigned short iPhiAngle = 0; iPhiAngle < PhiAngleList.size(); iPhiAngle++) {
1091+
for (unsigned long iPhiAngle = 0; iPhiAngle < PhiAngleList.size(); iPhiAngle++) {
10921092
NearFieldEA_file << scientific << ", " << EquivArea_PhiAngle[iPhiAngle][iVertex];
10931093
}
10941094

0 commit comments

Comments
 (0)