diff options
| author | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:28 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:28 +0200 |
| commit | 69344560ea394c06ca94acac46a2e4c3e8b7b229 (patch) | |
| tree | ebc98370a697a9bbd6b973a14fa5113c475c6db7 /lib/flat4.f90 | |
| parent | 3e9d10a67671d0bd5c7b8c3ca8088f1818322eff (diff) | |
| parent | 059831534c7e884f0a607ed86b582fd00d821731 (diff) | |
Update upstream source from tag 'upstream/3.2.0_rc1+dfsg'
Update to upstream version '3.2.0~rc1+dfsg'
with Debian dir dbff457fd2c3616d5c77b863c7bfb2186ed86047
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 |
