From f540df362973a86b130638e4574c17e22016055e Mon Sep 17 00:00:00 2001 From: Steven Franke Date: Thu, 13 Jul 2017 00:43:56 +0000 Subject: [PATCH] Fix another bounds error. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7864 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- lib/fsk4hf/sync8.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fsk4hf/sync8.f90 b/lib/fsk4hf/sync8.f90 index c625191e2..278d5a780 100644 --- a/lib/fsk4hf/sync8.f90 +++ b/lib/fsk4hf/sync8.f90 @@ -56,7 +56,7 @@ subroutine sync8(dd,nfa,nfb,syncmin,nfqso,s,candidate,ncand) endif t=t + s(i+nfos*icos7(n),k+nssy*36) t0=t0 + sum(s(i:i+nfos*6:nfos,k+nssy*36)) - if(k+144.le.NHSYM) then + if(k+nssy*72.le.NHSYM) then t=t + s(i+nfos*icos7(n),k+nssy*72) t0=t0 + sum(s(i:i+nfos*6:nfos,k+nssy*72)) endif