Skip to content

Commit

Permalink
Styling
Browse files Browse the repository at this point in the history
  • Loading branch information
SorooshMani-NOAA committed Aug 29, 2024
1 parent a34fc9b commit c2fac15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ensembleperturbation/perturbation/atcf.py
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ def find_parameter_from_GAHM_profile(
)
Vr_test[Vr_test < tol] = numpy.nan # no solution
# bi-section method with correction rate
rate = 1 / 2**(i//1000 + 1)
rate = 1 / 2 ** (i // 1000 + 1)
alpha[Rrat <= 1] *= 1 + ((Vr / Vr_test)[Rrat <= 1] ** 2 - 1) * rate
alpha[Rrat > 1] *= 1 + ((Vr_test / Vr)[Rrat > 1] ** 2 - 1) * rate
if B is not None:
Expand Down

0 comments on commit c2fac15

Please sign in to comment.