Skip to content

Commit

Permalink
Fixed the floating issue in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglikate committed Feb 29, 2024
1 parent 945cb2c commit 532cb53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sorc/ncep_post.fd/INITPOST_NETCDF.f
Original file line number Diff line number Diff line change
Expand Up @@ -1479,7 +1479,7 @@ SUBROUTINE INITPOST_NETCDF(ncid2d,ncid3d)
do j=jsta,jend
do i=ista,iend

TV = T(I,J,L) * (H1+D608*MAX(Q(I,J,L),QMIN))
TV = MAX(T(I,J,L) * (H1+D608 * MAX(Q(I,J,L),1e-8)),1e-8)
RHOMID(I,J,L) = PMID(I,J,L) / (RD*TV)
do n = 1, NBIN_DU
IF ( dust(i,j,l,n) < SPVAL) THEN
Expand Down

0 comments on commit 532cb53

Please sign in to comment.