[CodeFactor] Apply fixes to commit 4a01f03

This commit is contained in:
codefactor-io
2026-03-11 03:35:12 +00:00
parent 4a01f03cb4
commit 567fa89465
63 changed files with 293 additions and 302 deletions
+2 -2
View File
@@ -73,7 +73,7 @@ public sealed class Ifft : AbstractBase
_hanning = new double[windowSize];
for (int n = 0; n < windowSize; n++)
{
_hanning[n] = 0.5 - 0.5 * Math.Cos(twoPiOverN * n);
_hanning[n] = 0.5 - (0.5 * Math.Cos(twoPiOverN * n));
}
// Precompute bit-reversal permutation table
@@ -330,7 +330,7 @@ public sealed class Ifft : AbstractBase
{
for (int n = 0; n < windowSize; n++)
{
hanning[n] = 0.5 - 0.5 * Math.Cos(twoPiOverN * n);
hanning[n] = 0.5 - (0.5 * Math.Cos(twoPiOverN * n));
bitRev[n] = BitReverse(n, log2N);
}