Skip to content

Commit

Permalink
Fixed an (innucuous) bug on masource (thx ZG!)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephzhang8 committed Oct 10, 2022
1 parent 1178e2d commit 1955928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hydro/schism_init.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2831,7 +2831,7 @@ subroutine schism_init(iorder,indir,iths,ntime)
endif !myrank=0
call mpi_bcast(nsources,1,itype,0,comm,istat)
call mpi_bcast(nsinks,1,itype,0,comm,istat)
call mpi_bcast(th_dt3,nthfiles2,rtype,0,comm,istat)
call mpi_bcast(th_dt3,nthfiles3,rtype,0,comm,istat)

if(iorder==0) then
allocate(ieg_source(max(1,nsources)),ieg_sink(max(1,nsinks)), &
Expand Down

0 comments on commit 1955928

Please sign in to comment.