summaryrefslogtreecommitdiff
path: root/lib/afc65b.f90
diff options
context:
space:
mode:
Diffstat (limited to 'lib/afc65b.f90')
-rw-r--r--lib/afc65b.f9010
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/afc65b.f90 b/lib/afc65b.f90
index 9599b689..18bbb691 100644
--- a/lib/afc65b.f90
+++ b/lib/afc65b.f90
@@ -6,6 +6,8 @@ subroutine afc65b(cx,npts,fsample,nflip,mode65,a,ccfbest,dtbest)
real a(5),deltaa(5)
a=0.
+ a1=0.
+ a2=0.
i2=8*mode65
i1=-i2
j2=8*mode65
@@ -27,10 +29,10 @@ subroutine afc65b(cx,npts,fsample,nflip,mode65,a,ccfbest,dtbest)
!3081 format(7i4,5f8.2)
enddo
enddo
- i1=a1-istep
- i2=a1+istep
- j1=a2-istep
- j2=a2+istep
+ i1=int(a1)-istep
+ i2=int(a1)+istep
+ j1=int(a2)-istep
+ j2=int(a2)+istep
istep=1
enddo