diff options
| author | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:03 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:03 +0200 |
| commit | 059831534c7e884f0a607ed86b582fd00d821731 (patch) | |
| tree | 76bcb67a78f8aa2654fd34c2ad801a62136b0170 /lib/subtract65.f90 | |
| parent | d83a420f0517d7fc47aeb288a6a0cf4891784fcc (diff) | |
New upstream version 3.2.0~rc1+dfsgupstream/3.2.0_rc1+dfsg
Diffstat (limited to 'lib/subtract65.f90')
| -rw-r--r-- | lib/subtract65.f90 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/subtract65.f90 b/lib/subtract65.f90 index cf6e00e3..7469472c 100644 --- a/lib/subtract65.f90 +++ b/lib/subtract65.f90 @@ -62,7 +62,7 @@ subroutine subtract65(dd,npts,f0,dt) cref(ind)=cexp(cmplx(0.0,phi)) phi=modulo(phi+dphi,2*pi) id=nstart-1+ind - if(id.ge.1) camp(ind)=dd(id)*conjg(cref(ind)) + if(id.ge.1 .and. id.le.npts) camp(ind)=dd(id)*conjg(cref(ind)) ind=ind+1 enddo enddo |
