1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-06 19:06:30 -04:00
Files
sdrangel/sdrgui/gui
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
..
2024-06-23 17:32:48 +02:00
2024-06-23 17:32:48 +02:00
2024-06-23 17:32:48 +02:00
2025-06-04 18:23:53 +01:00
2025-06-04 18:23:53 +01:00
2024-03-28 15:24:39 +00:00
2024-03-28 15:24:39 +00:00
2023-07-09 09:06:18 +02:00
2024-07-10 23:06:38 +02:00
2024-06-23 17:32:48 +02:00
2024-06-23 17:32:48 +02:00
2024-06-16 23:38:33 +02:00
2026-03-25 16:30:13 +00:00
2024-06-16 23:38:33 +02:00
2026-03-25 16:30:13 +00:00
2026-03-25 16:30:13 +00:00
2026-03-25 18:58:43 +00:00
2026-03-25 16:30:13 +00:00
2026-03-25 16:30:13 +00:00
2026-03-25 19:06:11 +00:00
2024-06-23 17:32:48 +02:00
2024-02-14 13:58:44 +00:00
2024-09-22 15:11:58 +01:00
2024-09-22 12:23:06 +01:00
2026-03-25 16:30:13 +00:00
2026-03-25 16:30:13 +00:00
2026-03-26 21:30:15 +00:00
2026-03-25 18:58:43 +00:00
2024-04-29 19:07:29 +02:00
2026-03-25 18:58:43 +00:00
2026-03-25 16:30:13 +00:00
2026-03-25 16:30:13 +00:00
2026-03-25 16:30:13 +00:00
2024-03-28 15:24:39 +00:00
2024-03-28 15:24:39 +00:00
2024-05-26 22:10:32 +02:00
2024-06-23 17:32:48 +02:00
2024-10-10 14:36:06 +01:00