mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Protect against a bounds error.
This commit is contained in:
parent
81af6f1ed3
commit
65689c46cf
@ -37,7 +37,7 @@ subroutine xcor4(s2,ipk,nsteps,nsym,lag1,lag2,ich,mode4,ccf,ccf0, &
|
|||||||
|
|
||||||
ccfmax=0.
|
ccfmax=0.
|
||||||
ccfmin=0.
|
ccfmin=0.
|
||||||
nw=nch(ich)
|
nw=nch(min(max(ich,1),7))
|
||||||
|
|
||||||
do j=1,nsteps
|
do j=1,nsteps
|
||||||
n=2*mode4
|
n=2*mode4
|
||||||
|
Loading…
Reference in New Issue
Block a user