summaryrefslogtreecommitdiff
path: root/lib/sh65.f90
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sh65.f90')
-rw-r--r--lib/sh65.f902
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sh65.f90 b/lib/sh65.f90
index 09bef9c2..7d1efc3d 100644
--- a/lib/sh65.f90
+++ b/lib/sh65.f90
@@ -6,6 +6,7 @@ subroutine sh65(cx,n5,mode65,ntol,xdf,nspecial,snrdb)
real ss(-NH+1:NH,16)
real sigmax(16)
integer ipk(16)
+ save ss
ss=0.
@@ -47,6 +48,7 @@ subroutine sh65(cx,n5,mode65,ntol,xdf,nspecial,snrdb)
ib2=min(NH,nint(fb/df + 4.1*nfac))
! Find strongest line in each of the 16 phases
+ snr1=0.
sbest=0.
snrbest=0.
nbest=1