diff options
| author | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:03 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:03 +0200 |
| commit | 059831534c7e884f0a607ed86b582fd00d821731 (patch) | |
| tree | 76bcb67a78f8aa2654fd34c2ad801a62136b0170 /lib/ft4/gen_ft4wave.f90 | |
| parent | d83a420f0517d7fc47aeb288a6a0cf4891784fcc (diff) | |
New upstream version 3.2.0~rc1+dfsgupstream/3.2.0_rc1+dfsg
Diffstat (limited to 'lib/ft4/gen_ft4wave.f90')
| -rw-r--r-- | lib/ft4/gen_ft4wave.f90 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ft4/gen_ft4wave.f90 b/lib/ft4/gen_ft4wave.f90 index 13018242..885c690b 100644 --- a/lib/ft4/gen_ft4wave.f90 +++ b/lib/ft4/gen_ft4wave.f90 @@ -3,12 +3,14 @@ subroutine gen_ft4wave(itone,nsym,nsps,fsample,f0,cwave,wave,icmplx,nwave) real wave(nwave) complex cwave(nwave) real pulse(6912) !576*4*3 - real dphi(0:250000-1) + real, allocatable :: dphi(:) integer itone(nsym) logical first data first/.true./ save pulse,first,twopi,dt,hmod + allocate(dphi(0:(nsym+2)*nsps-1)) + if(first) then twopi=8.0*atan(1.0) dt=1.0/fsample |
