summaryrefslogtreecommitdiff
path: root/lib/tweak1.f90
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
committerhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
commitc25cbdf6fb6d946175f4335fab77bfea601b56db (patch)
tree6f7a94b7b81f999e434f61b73d47e337dfd26bf2 /lib/tweak1.f90
parent71f5689252c9f13e70e1c24856904475b2307809 (diff)
parent0685fcada9f95fe90f70b387cd7d757da8209624 (diff)
Merge tag 'debian/3.2.0_rc1+dfsg-2' into debian/trixie-backportsdebian/trixie-backports
tagging wsjtx 3.2.0~rc1+dfsg-2
Diffstat (limited to 'lib/tweak1.f90')
-rw-r--r--lib/tweak1.f905
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))