mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-31 05:42:26 -04:00
Resize s1a when required.
This commit is contained in:
parent
a53b3dc697
commit
2aee8d9d62
@ -2,7 +2,7 @@ module q65
|
|||||||
|
|
||||||
parameter (NSTEP=8) !Time bins per symbol, in s1() and s1a()
|
parameter (NSTEP=8) !Time bins per symbol, in s1() and s1a()
|
||||||
parameter (PLOG_MIN=-240.0) !List decoding threshold
|
parameter (PLOG_MIN=-240.0) !List decoding threshold
|
||||||
integer nsave,nlist,LL0
|
integer nsave,nlist,LL0,iz0,jz0
|
||||||
integer listutc(10)
|
integer listutc(10)
|
||||||
integer apsym0(58),aph10(10)
|
integer apsym0(58),aph10(10)
|
||||||
integer apmask1(78),apsymbols1(78)
|
integer apmask1(78),apsymbols1(78)
|
||||||
@ -90,12 +90,14 @@ subroutine q65_dec0(iavg,nutc,iwave,ntrperiod,nfqso,ntol,ndepth,lclearave, &
|
|||||||
allocate(ccf(-ia2:ia2,-53:214))
|
allocate(ccf(-ia2:ia2,-53:214))
|
||||||
allocate(ccf1(-ia2:ia2))
|
allocate(ccf1(-ia2:ia2))
|
||||||
allocate(ccf2(-ia2:ia2))
|
allocate(ccf2(-ia2:ia2))
|
||||||
if(LL.ne.LL0 .or. lclearave) then
|
if(LL.ne.LL0 .or. iz.ne.iz0 .or. jz.ne.jz0 .or. lclearave) then
|
||||||
if(allocated(s1a)) deallocate(s1a)
|
if(allocated(s1a)) deallocate(s1a)
|
||||||
allocate(s1a(iz,jz))
|
allocate(s1a(iz,jz))
|
||||||
s1a=0.
|
s1a=0.
|
||||||
navg=0
|
navg=0
|
||||||
LL0=LL
|
LL0=LL
|
||||||
|
iz0=iz
|
||||||
|
jz0=jz
|
||||||
lclearave=.false.
|
lclearave=.false.
|
||||||
endif
|
endif
|
||||||
dtstep=nsps/(NSTEP*12000.0) !Step size in seconds
|
dtstep=nsps/(NSTEP*12000.0) !Step size in seconds
|
||||||
@ -461,7 +463,7 @@ end subroutine q65_dec1
|
|||||||
subroutine q65_dec2(s3,nsubmode,b90ts,esnodb,irc,dat4,decoded)
|
subroutine q65_dec2(s3,nsubmode,b90ts,esnodb,irc,dat4,decoded)
|
||||||
|
|
||||||
use packjt77
|
use packjt77
|
||||||
real s3(1,1) !Silence compiler warning that wants to see a 2D array
|
real s3(iz0,jz0) !Silence compiler warning that wants to see a 2D array
|
||||||
real s3prob(0:63,63) !Symbol-value probabilities
|
real s3prob(0:63,63) !Symbol-value probabilities
|
||||||
integer dat4(13)
|
integer dat4(13)
|
||||||
character c77*77,decoded*37
|
character c77*77,decoded*37
|
||||||
|
Loading…
x
Reference in New Issue
Block a user