Skip to content

Commit

Permalink
Bugfix/negative_peak_frequency: Add IS2 flag to avoid uninitialized c…
Browse files Browse the repository at this point in the history
…alculation in ww3_outp
  • Loading branch information
Benoit Pouliot authored and benoitp-cmc committed Jul 21, 2022
1 parent f8e55f1 commit 5bce5e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions model/src/ww3_outp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1439,10 +1439,10 @@ SUBROUTINE W3EXPO
RHOAIR = MAX ( 0. , DAIRO(J))
#endif
CDIR = MOD ( 270. - CDO(J)*RADE , 360. )
ICEDMAX = MAX ( 0., ICEFO(J))
ICEF = ICEDMAX
ICETHICK = MAX (0., ICEHO(J))
ICECON = MAX (0., ICEO(J))
!/IS2 ICEDMAX = MAX ( 0., ICEFO(J))
!/IS2 ICEF = ICEDMAX
!/IS2 ICETHICK = MAX (0., ICEHO(J))
!/IS2 ICECON = MAX (0., ICEO(J))
!
#ifdef W3_STAB2
STAB0 = ZWIND * GRAV / 273.
Expand Down

0 comments on commit 5bce5e6

Please sign in to comment.