Skip to content

Commit

Permalink
Fix ordering so that array is allocated properly
Browse files Browse the repository at this point in the history
  • Loading branch information
ekluzek committed Mar 22, 2024
1 parent d0537d1 commit f5168f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpl/share_esmf/ZenderSoilErodStreamType.F90
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ subroutine Init(this, bounds, NLFilename)
character(len=*), parameter :: stream_name = 'zendersoilerod'
!-----------------------------------------------------------------------

call this%InitAllocate( bounds )
call control%ReadNML( bounds, NLFileName )
call this%InitAllocate( bounds )

if ( this%useStreams() )then ! is this a namelist input and is it set in namelist default

Expand Down

0 comments on commit f5168f9

Please sign in to comment.