summaryrefslogtreecommitdiff
path: root/lib/spec_qra65.f90
diff options
context:
space:
mode:
Diffstat (limited to 'lib/spec_qra65.f90')
-rw-r--r--lib/spec_qra65.f904
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/spec_qra65.f90 b/lib/spec_qra65.f90
index 15e8fd09..575d5050 100644
--- a/lib/spec_qra65.f90
+++ b/lib/spec_qra65.f90
@@ -6,6 +6,7 @@ subroutine spec_qra65(c0,nsps,s3,LL,NN)
complex, allocatable :: cs(:) !Complex symbol spectrum
real s3(LL,NN) !Synchronized symbol spectra
real xbase0(LL),xbase(LL) !Work arrays
+ real s3_row(NN)
integer isync(22) !Indices of sync symbols
data isync/1,9,12,13,15,22,23,26,27,33,35,38,46,50,55,60,62,66,69,74,76,85/
@@ -32,7 +33,8 @@ subroutine spec_qra65(c0,nsps,s3,LL,NN)
df=6000.0/nsps
do i=1,LL
- call pctile(s3(i,1:NN),NN,45,xbase0(i)) !Get baseline for passband shape
+ s3_row=s3(i,1:NN)
+ call pctile(s3_row,NN,45,xbase0(i)) !Get baseline for passband shape
enddo
nh=9