1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-07 03:16:40 -04:00
Commit Graph

3 Commits

Author SHA1 Message Date
Robin Getz 6fc50d2546 gui: Avoid log(0) in FFTNRDialog::setAlpha
Cppcheck reported that setAlpha() could call log() with an argument of
zero when alpha is clamped to 0.0f, resulting in an invalid-domain
mathematical operation.

Initialize tau to 0.0f and only compute the logarithm when alpha is
strictly positive. This preserves the existing behavior while avoiding
the invalid log(0) call.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-07-31 20:51:36 -04:00
f4exb b84eea7dc9 Rewriting of copyright notices for sdrgui. Fixes #1893 2023-11-19 13:43:10 +01:00
f4exb 179cd71c54 SSB demod noise reduction. Fixes #1874 2023-11-05 10:33:27 +01:00