diff options
| author | hibby <d@vehibberd.com> | 2026-10-06 21:24:40 +0100 |
|---|---|---|
| committer | hibby <d@vehibberd.com> | 2026-10-06 21:24:40 +0100 |
| commit | c25cbdf6fb6d946175f4335fab77bfea601b56db (patch) | |
| tree | 6f7a94b7b81f999e434f61b73d47e337dfd26bf2 /lib/subtract65.f90 | |
| parent | 71f5689252c9f13e70e1c24856904475b2307809 (diff) | |
| parent | 0685fcada9f95fe90f70b387cd7d757da8209624 (diff) | |
Merge tag 'debian/3.2.0_rc1+dfsg-2' into debian/trixie-backportsdebian/trixie-backports
tagging wsjtx 3.2.0~rc1+dfsg-2
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 |
