From 0c59730c026ac92b8534bb3129469fed1c323fa3 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 18 Oct 2016 18:53:29 +0000 Subject: [PATCH] Correct a flaw in ISCAT decoder. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7198 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- lib/fast_decode.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fast_decode.f90 b/lib/fast_decode.f90 index 5628f3606..c4d120beb 100644 --- a/lib/fast_decode.f90 +++ b/lib/fast_decode.f90 @@ -91,7 +91,7 @@ subroutine fast_decode(id2,narg,ntrperiod,bShMsgs,line,mycall_12, & ndat=ndat0 call wav11(id2,ndat,dat) nzz=11025*ntrperiod - if(npts.lt.nzz) dat(npts+1:nzz)=0.0 + if(ndat.lt.nzz) dat(npts+1:nzz)=0.0 ndat=min(ndat,30*11025) call ana932(dat,ndat,cdat,npts) !Make downsampled analytic signal endif