summaryrefslogtreecommitdiff
path: root/lib/ft4/gen_ft4wave.f90
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ft4/gen_ft4wave.f90')
-rw-r--r--lib/ft4/gen_ft4wave.f902
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ft4/gen_ft4wave.f90 b/lib/ft4/gen_ft4wave.f90
index 82399361..13018242 100644
--- a/lib/ft4/gen_ft4wave.f90
+++ b/lib/ft4/gen_ft4wave.f90
@@ -37,7 +37,7 @@ subroutine gen_ft4wave(itone,nsym,nsps,fsample,f0,cwave,wave,icmplx,nwave)
wave=0.
if(icmplx.eq.1) cwave=0.
k=0
- do j=0,nwave-1
+ do j=0,(nsym+2)*nsps-1
k=k+1
if(icmplx.eq.0) then
wave(k)=sin(phi)