[CodeFactor] Apply fixes to commit 0606491

This commit is contained in:
codefactor-io
2026-03-12 19:37:50 +00:00
parent 060649192f
commit 8f79257155
384 changed files with 1197 additions and 1215 deletions
+1 -1
View File
@@ -386,7 +386,7 @@ public sealed class SakTests
var output = new double[size];
for (int i = 0; i < size; i++)
{
src[i] = 100.0 + i * 0.01;
src[i] = 100.0 + (i * 0.01);
}
// Should not throw StackOverflowException
@@ -83,7 +83,7 @@ public sealed class SakValidationTests
double c0 = alpha * alpha / 4.0;
double x0 = 10.0, x1 = 20.0, x2 = 30.0;
double expectedY = c0 * (x0 + 2.0 * x1 + x2); // pure FIR formula
double expectedY = c0 * (x0 + (2.0 * x1) + x2); // pure FIR formula
var sak = new Sak("Smooth", period: period);
var now = DateTime.UtcNow;