Skip to content

Commit

Permalink
bugfix for new minloc replacement for loop with exit
Browse files Browse the repository at this point in the history
  • Loading branch information
jtruesdal committed Mar 6, 2024
1 parent 36e8f4b commit 8851ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynamics/se/se_single_column_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ subroutine scm_setinitial(elem)
call cnst_get_ind('CLDICE', icldice)

! Find level where tobs is no longer zero
levidx=MINLOC(tobs, MASK = tobs == 0._r8)
levidx=MINLOC(tobs, MASK = tobs /= 0._r8)
thelev=levidx(1)

if (get_nstep() <= 1) then
Expand Down

0 comments on commit 8851ffd

Please sign in to comment.