diff options
| author | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:03 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:03 +0200 |
| commit | 059831534c7e884f0a607ed86b582fd00d821731 (patch) | |
| tree | 76bcb67a78f8aa2654fd34c2ad801a62136b0170 /map65/libm65/cgen65.f90 | |
| parent | d83a420f0517d7fc47aeb288a6a0cf4891784fcc (diff) | |
New upstream version 3.2.0~rc1+dfsgupstream/3.2.0_rc1+dfsg
Diffstat (limited to 'map65/libm65/cgen65.f90')
| -rw-r--r-- | map65/libm65/cgen65.f90 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/map65/libm65/cgen65.f90 b/map65/libm65/cgen65.f90 index ac0c14b2..6fcf98d6 100644 --- a/map65/libm65/cgen65.f90 +++ b/map65/libm65/cgen65.f90 @@ -21,7 +21,7 @@ subroutine cgen65(message,mode65,samfac,nsendingsh,msgsent,cwave,nwave) integer, intent(out) :: nsendingsh character(len=22),intent(out) :: msgsent - complex, intent(out) :: cwave(NMAX) + complex, intent(out) :: cwave(:) integer, intent(out) :: nwave !-------------------------------------------------------------------- @@ -106,7 +106,7 @@ subroutine cgen65(message,mode65,samfac,nsendingsh,msgsent,cwave,nwave) !-------------------------------------------------------------------- do i = 1, ndata t = t + dt - j = int(t / tsymbol) + 1 + j = min(nsym, int(t / tsymbol) + 1) if (j .ne. j0) then f = f0 |
