summaryrefslogtreecommitdiff
path: root/lib/ft8/ft8_a7.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2024-09-30 22:36:11 +0200
committerChristoph Berg <myon@debian.org>2024-09-30 22:36:11 +0200
commit4320ce238aae1fe87fc9f379cdd816e9317885fa (patch)
treeb9d97364486fc8b7f79e8e877d5d491bb061740f /lib/ft8/ft8_a7.f90
parentfbaeaa72f63f22bf0b53d634f6809cbdfbb46c9f (diff)
New upstream version 2.7.0~rc7+repackupstream/2.7.0_rc7+repack
Diffstat (limited to 'lib/ft8/ft8_a7.f90')
-rwxr-xr-xlib/ft8/ft8_a7.f904
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ft8/ft8_a7.f90 b/lib/ft8/ft8_a7.f90
index c7578edf..a7af8c81 100755
--- a/lib/ft8/ft8_a7.f90
+++ b/lib/ft8/ft8_a7.f90
@@ -1,6 +1,6 @@
module ft8_a7
- parameter(MAXDEC=100)
+ parameter(MAXDEC=200)
! For the following three arrays
! First index i=decode number in this sequence
@@ -43,7 +43,7 @@ subroutine ft8_a7_save(nutc,dt,f,msg)
! Add this decode to current table for this sequence
ndec(j,1)=ndec(j,1)+1 !Number of decodes in this sequence
i=ndec(j,1) !i is index of a new table entry
- if(i.ge.MAXDEC-1) return !Prevent table overflow
+ if(i.gt.MAXDEC) return !Prevent table overflow (indexes start at 1)
dt0(i,j,1)=dt !Save dt in table
f0(i,j,1)=f !Save f in table