From fc4dcc6d8817675a408b9ba3e86d388c020de62c Mon Sep 17 00:00:00 2001 From: Steve Franke Date: Mon, 27 May 2019 16:34:53 -0500 Subject: [PATCH] Fix a bug that caused FT4 decoding to fail when widegraph Start freq was less than 200 Hz. --- lib/ft4/getcandidates4.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ft4/getcandidates4.f90 b/lib/ft4/getcandidates4.f90 index dd875336d..f7cef02ef 100644 --- a/lib/ft4/getcandidates4.f90 +++ b/lib/ft4/getcandidates4.f90 @@ -45,7 +45,7 @@ subroutine getcandidates4(dd,fa,fb,syncmin,nfqso,maxcand,savg,candidate, & enddo nfa=fa/df - if(nfa.lt.8) nfa=8 + if(nfa.lt.nint(200.0/df)) nfa=nint(200.0/df) nfb=fb/df if(nfb.gt.nint(5000.0/df)) nfb=nint(5000.0/df) ncand=0