mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -05:00
Fix an oddball result with i*2 numbers: abs(-32768)=-32768.
This commit is contained in:
parent
14dad11f2e
commit
263675cac4
@ -8,6 +8,8 @@ subroutine blanker(iwave,nz,ndropmax,npct,c_bigfft)
|
||||
fblank=0.01*npct
|
||||
hist=0
|
||||
do i=1,nz
|
||||
! ### NB: if iwave(i)=-32768, abs(iwave(i))=-32768 ###
|
||||
if(iwave(i).eq.-32768) iwave(i)=-32767
|
||||
n=abs(iwave(i))
|
||||
hist(n)=hist(n)+1
|
||||
enddo
|
||||
|
Loading…
Reference in New Issue
Block a user