Skip to content

Commit d9efef9

Browse files
s7yoewerjjokella
authored andcommitted
bugfix: setting inactive defaults of state index array CLM->PDAF
Bug: At every loop iteration the full index array was set.
1 parent fdbd1d3 commit d9efef9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

interface/model/eclm/enkf_clm_mod_5.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ subroutine define_clm_statevec_swc(mype)
220220
do i=1,nlevsoi
221221
do c=clm_begc,clm_endc
222222
! Default: inactive
223-
state_clm2pdaf_p = ispval
223+
state_clm2pdaf_p(c,i) = ispval
224224
end do
225225
end do
226226

0 commit comments

Comments
 (0)