mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-25 21:49:20 -04:00
Better protection of edge values of ccf array indexes.
This commit is contained in:
parent
161f456101
commit
12bda0f84e
@ -34,12 +34,12 @@ subroutine sfox_sync(crcvd,fsample,isync,f,t)
|
||||
|
||||
pmax=0.
|
||||
ntol=100
|
||||
iz=nint(ntol/df)+2
|
||||
iz=nint(ntol/df)
|
||||
i0=nint(1500.0/df)
|
||||
ipk=-999
|
||||
jpk=-999
|
||||
jz=nsz-8*NS
|
||||
allocate(ccf(-iz:iz,1:jz))
|
||||
allocate(ccf(-iz-1:iz+1,1:jz))
|
||||
ccf=0.
|
||||
do j=1,jz
|
||||
do i=-iz,iz
|
||||
|
Loading…
Reference in New Issue
Block a user