mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-04-03 09:59:16 -04:00
Protect against bounds error when nfa=0.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7748 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
7195f121dd
commit
804543c6f8
@ -39,7 +39,7 @@ subroutine sync8(iwave,nfa,nfb,nfqso,s,candidate,ncand)
|
||||
enddo
|
||||
savg=savg/NHSYM
|
||||
|
||||
ia=nint(nfa/df)
|
||||
ia=max(1,nint(nfa/df))
|
||||
ib=nint(nfb/df)
|
||||
do i=ia,ib
|
||||
do j=-JZ,JZ
|
||||
|
Loading…
Reference in New Issue
Block a user