Skip to content

Commit

Permalink
Explicitly allocate arrays to start at 1, since izumi_gnu seems to ne…
Browse files Browse the repository at this point in the history
…ed that
  • Loading branch information
ekluzek committed Jun 13, 2024
1 parent 46862cc commit e947ea3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/biogeochem/DustEmisBase.F90
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ subroutine InitAllocate(this, bounds)
allocate(this%vlc_trb_3_patch (begp:endp)) ; this%vlc_trb_3_patch (:) = nan
allocate(this%vlc_trb_4_patch (begp:endp)) ; this%vlc_trb_4_patch (:) = nan

allocate (this%ovr_src_snk_mss(dst_src_nbr,ndst)) ; this%ovr_src_snk_mss (:,:) = nan
allocate (this%dmt_vwr(ndst)) ; this%dmt_vwr (:) = nan
allocate (this%stk_crc(ndst)) ; this%stk_crc (:) = nan
allocate (this%ovr_src_snk_mss(1:dst_src_nbr,1:ndst)) ; this%ovr_src_snk_mss (:,:) = nan
allocate (this%dmt_vwr(1:ndst)) ; this%dmt_vwr (:) = nan
allocate (this%stk_crc(1:ndst)) ; this%stk_crc (:) = nan

end subroutine InitAllocate

Expand Down

0 comments on commit e947ea3

Please sign in to comment.