Skip to content

Commit

Permalink
Bug fix as recommended by @billsacks in ESCOMP#772
Browse files Browse the repository at this point in the history
  • Loading branch information
slevis-lmwg committed Aug 15, 2019
1 parent a87e67d commit d95532b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/biogeophys/SoilStateInitTimeConstMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ subroutine SoilStateInitTimeConst(bounds, soilstate_inst, nlfilename)
! because clay, sand and om_frac will remain set at their previous
! values, which is probably reasonable enough. See also
! <https://github.com/ESCOMP/ctsm/pull/771#discussion_r309509596>.
if (zisoi(lev) > zisoifl(j) .AND. zisoi(lev) <= zisoifl(j+1)) then
if (zsoi(lev) > zisoifl(j) .AND. zsoi(lev) <= zisoifl(j+1)) then
clay = clay3d(g,j+1)
sand = sand3d(g,j+1)
om_frac = organic3d(g,j+1)/organic_max
Expand Down

0 comments on commit d95532b

Please sign in to comment.