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/flat4.f90 | |
| parent | d83a420f0517d7fc47aeb288a6a0cf4891784fcc (diff) | |
New upstream version 3.2.0~rc1+dfsgupstream/3.2.0_rc1+dfsg
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 |
