@@ -3379,7 +3379,7 @@ void CSolver::LoadInletProfile(CGeometry **geometry,
33793379 vector<su2double> InletRadii = profileReader.GetColumnForProfile (jMarker, radius_index);
33803380 vector<su2double> Interpolation_Column (nRows);
33813381
3382- bool Interpolate = false ;
3382+ bool Interpolate = true ;
33833383
33843384 switch (config->GetKindInletInterpolationFunction ()){
33853385
@@ -3388,21 +3388,19 @@ void CSolver::LoadInletProfile(CGeometry **geometry,
33883388 break ;
33893389
33903390 case (AKIMA_1D):
3391- for (unsigned short iCol=0 ; iCol < nColumns; iCol++){
3391+ for (auto iCol=0ul ; iCol < nColumns; iCol++){
33923392 Interpolation_Column = profileReader.GetColumnForProfile (jMarker, iCol);
33933393 interpolator[iCol] = new CAkimaInterpolation (InletRadii,Interpolation_Column);
3394- interpolation_function = " AKIMA" ;
3395- Interpolate = true ;
33963394 }
3395+ interpolation_function = " AKIMA" ;
33973396 break ;
33983397
33993398 case (LINEAR_1D):
3400- for (unsigned short iCol=0 ; iCol < nColumns; iCol++){
3399+ for (auto iCol=0ul ; iCol < nColumns; iCol++){
34013400 Interpolation_Column = profileReader.GetColumnForProfile (jMarker, iCol);
34023401 interpolator[iCol] = new CLinearInterpolation (InletRadii,Interpolation_Column);
3403- interpolation_function = " LINEAR" ;
3404- Interpolate = true ;
34053402 }
3403+ interpolation_function = " LINEAR" ;
34063404 break ;
34073405
34083406 default :
@@ -3496,7 +3494,7 @@ void CSolver::LoadInletProfile(CGeometry **geometry,
34963494 const su2double Theta = atan2 (Coord[1 ],Coord[0 ]);
34973495
34983496 /* --- Evaluating and saving the final spline data ---*/
3499- for (unsigned short iVar=0 ; iVar < nColumns; iVar++){
3497+ for (auto iVar=0ul ; iVar < nColumns; iVar++){
35003498
35013499 /* ---Evaluate spline will get the respective value of the Data set (column) specified
35023500 for that interpolator[iVar], cycling through all columns to get all the
0 commit comments