We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a3f4e1 commit 7aa399aCopy full SHA for 7aa399a
src/libaatm/src/ATMProfile.cpp
@@ -1694,9 +1694,10 @@ size_t AtmProfile::mkAtmProfile()
1694
minmin = 20000.0;
1695
1696
for(k = 0; k < 20; k++) {
1697
-
1698
- if( (fabs(v_layerPressure[i - 1] - dp * pow(dp1, (int)(i - 1)) > 1.05*px[typeAtm_ - 1][k])) &&
1699
- (fabs(v_layerPressure[i - 1] - dp * pow(dp1, (int)(i - 1)) - px[typeAtm_ - 1][k])) <= minmin ) {
+ if(
+ (fabs(v_layerPressure[i - 1] - dp * pow(dp1, (int)(i - 1) ) ) > 1.05*px[typeAtm_ - 1][k] ) &&
+ (fabs(v_layerPressure[i - 1] - dp * pow(dp1, (int)(i - 1) ) - px[typeAtm_ - 1][k]) <= minmin)
1700
+ ) {
1701
1702
j = k;
1703
0 commit comments