Skip to content

Commit

Permalink
WAVEMDL: fix bounds checking bug
Browse files Browse the repository at this point in the history
  • Loading branch information
awnawab committed Dec 8, 2024
1 parent f235bf0 commit c0ac31f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ecwam/wavemdl.F90
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ SUBROUTINE WAVEMDL (CBEGDAT, PSTEP, KSTOP, KSTPW, &
ALLOCATE(ZCOMCNT(NPROC))
ZCOMCNT=NCOMLOC
CALL MPL_GATHERV(PSENDBUF=ZCOMBUFS(IST:IED),KROOT=IRECV, &
& PRECVBUF=ZCOMBUFR(:),KRECVCOUNTS=ZCOMCNT, &
& PRECVBUF=ZCOMBUFR,KRECVCOUNTS=ZCOMCNT, &
& CDSTRING='WAVEMDL:')
DEALLOCATE(ZCOMCNT)

Expand Down

0 comments on commit c0ac31f

Please sign in to comment.