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/flat4.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/flat4.f90')
| -rw-r--r-- | lib/flat4.f90 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/flat4.f90 b/lib/flat4.f90 index faf15459..44f1e9c7 100644 --- a/lib/flat4.f90 +++ b/lib/flat4.f90 @@ -12,10 +12,11 @@ subroutine flat4(s,npts0,nflatten) real*8 x(1000),y(1000),a(5) data nseg/10/,npct/10/ + epsilon=tiny(s(1)) npts=min(6827,npts0) if(s(1).gt.1.e29) go to 900 !Boundary between Rx intervals: do nothing do i=1,npts - s(i)=10.0*log10(s(i)) !Convert to dB scale + s(i)=10.0*log10(max(s(i),epsilon)) !Convert to dB scale enddo if(nflatten.gt.0) then |
