Guard against bounds error in candidate array.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7765 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Steven Franke 2017-07-01 16:06:18 +00:00
parent ff6b29f3df
commit 0bd8542ccf

View File

@ -89,7 +89,7 @@ subroutine sync8(iwave,nfa,nfb,nfqso,s,candidate,ncand)
candidate0(2,k)=(jpeak(n)-1)*tstep
candidate0(3,k)=red(n)
enddo
ncand=k
ncand=min(100,k)
! Put nfqso at top of list, and save only the best of near-dupe freqs.
do i=1,ncand