[CodeFactor] Apply fixes to commit 9697fac

This commit is contained in:
codefactor-io
2026-03-14 05:03:08 +00:00
parent 9697facfb4
commit e35ff7fa3f
164 changed files with 458 additions and 530 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ public sealed class Hamma : AbstractBase
double twoPiOverPm1 = 2.0 * Math.PI / (period - 1);
for (int i = 0; i < period; i++)
{
double w = 0.54 - 0.46 * Math.Cos(twoPiOverPm1 * i);
double w = 0.54 - (0.46 * Math.Cos(twoPiOverPm1 * i));
weights[i] = w;
sum += w;
}