diff options
| author | Christoph Berg <myon@debian.org> | 2018-12-19 22:58:32 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2018-12-19 22:58:32 +0100 |
| commit | e0737c56c1e384e05064a0c6e1ac46979371041b (patch) | |
| tree | a0123d694a2d36c43dabdf0a3907392fce11d457 /lib/xcor4.f90 | |
| parent | b4aebf2d137b892f53503b13785ecae900062ff7 (diff) | |
New upstream version 2.0.0+repackupstream/2.0.0+repack
Diffstat (limited to 'lib/xcor4.f90')
| -rw-r--r-- | lib/xcor4.f90 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xcor4.f90 b/lib/xcor4.f90 index 9e1f5a52..9e4aff59 100644 --- a/lib/xcor4.f90 +++ b/lib/xcor4.f90 @@ -37,7 +37,7 @@ subroutine xcor4(s2,ipk,nsteps,nsym,lag1,lag2,ich,mode4,ccf,ccf0, & ccfmax=0.
ccfmin=0.
- nw=nch(ich)
+ nw=nch(min(max(ich,1),7))
do j=1,nsteps
n=2*mode4
|
