mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Protect against NaN in savg() after switch from Q65 to JT65 mode.
This commit is contained in:
parent
226c59982b
commit
089e0b9ebe
@ -162,6 +162,7 @@ contains
|
||||
ib=min(NSZ,nint((nfb+100)/df))
|
||||
nz=ib-ia+1
|
||||
if(nz.lt.50) go to 900
|
||||
if(isnan(sum(savg(ia:ia+nz-1)))) go to 900
|
||||
call lorentzian(savg(ia),nz,a)
|
||||
baseline=a(1)
|
||||
amp=a(2)
|
||||
|
Loading…
Reference in New Issue
Block a user