Skip to content

Commit

Permalink
Change a 'nint' to 'int' to ensure consistency tests
Browse files Browse the repository at this point in the history
pass.

Fixes ufs-community#736.
  • Loading branch information
GeorgeGayno-NOAA committed Dec 16, 2022
1 parent 67181ae commit e785b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sorc/chgres_cube.fd/grib2_util.F90
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ elemental function fpvsnew(t)
c1xpvs=1.-xmin*c2xpvs
! xj=min(max(c1xpvs+c2xpvs*t,1.0),real(nxpvs,krealfp))
xj=min(max(c1xpvs+c2xpvs*t,1.0),float(nxpvs))
jx=nint(min(xj,float(nxpvs)-1.0))
jx=int(min(xj,float(nxpvs)-1.0))
x=xmin+(jx-1)*xinc

tr=con_ttp/x
Expand Down

0 comments on commit e785b2d

Please sign in to comment.