From 06c83c580dc3d3d01712c59962843ad89d3ab676 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Wed, 4 Feb 2015 21:26:58 +0000 Subject: [PATCH] Make array sizes in downsam9 consistent with the new big FFT length. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4934 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- lib/downsam9.f90 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/downsam9.f90 b/lib/downsam9.f90 index 9b5ab66ee..8682c6e3e 100644 --- a/lib/downsam9.f90 +++ b/lib/downsam9.f90 @@ -7,8 +7,7 @@ subroutine downsam9(id2,npts8,nsps8,newdat,nspsd,fpk,c2,nz2) use FFTW3 include 'constants.f90' -! parameter (NMAX1=1024*1920) - parameter (NMAX1=884736) + parameter (NMAX1=604800) type(C_PTR) :: plan !Pointers plan for big FFT integer*2 id2(0:8*npts8-1) real*4 x1(0:NMAX1-1) @@ -20,7 +19,7 @@ subroutine downsam9(id2,npts8,nsps8,newdat,nspsd,fpk,c2,nz2) data first/.true./ save plan,first - nfft1=604800 !Forward FFT length + nfft1=NMAX1 !Forward FFT length df1=12000.0/nfft1 npts=8*npts8