diff options
Diffstat (limited to 'lib/tweak1.f90')
| -rw-r--r-- | lib/tweak1.f90 | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/tweak1.f90 b/lib/tweak1.f90 index c62c4087..668ba198 100644 --- a/lib/tweak1.f90 +++ b/lib/tweak1.f90 @@ -3,13 +3,10 @@ subroutine tweak1(ca,jz,f0,cb) ! Shift frequency of analytic signal ca, with output to cb complex ca(jz),cb(jz) - real*8 twopi + real*8, parameter :: twopi=6.283185307179586476925286766559d0 complex*16 w,wstep complex w4 - data twopi/0.d0/ - save twopi - if(twopi.eq.0.d0) twopi=8.d0*atan(1.d0) w=1.d0 dphi=twopi*f0/12000.d0 wstep=cmplx(cos(dphi),sin(dphi)) |
