Skip to content

Commit

Permalink
Fix mix in precisions.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjahns committed Dec 14, 2024
1 parent 5954bc8 commit e55d549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rrtmgp-kernels/mo_gas_optics_rrtmgp_kernels.F90
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ subroutine interpolation( &
else
eta = 0.5_wp
endif
loceta = eta * float(neta-1)
loceta = eta * real(neta-1, wp)
jeta(itemp,icol,ilay,iflav) = min(int(loceta)+1, neta-1)
feta = loceta - aint(loceta)
! compute interpolation fractions needed for minor species
Expand Down

0 comments on commit e55d549

Please sign in to comment.