[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
@@ -255,8 +255,8 @@ public sealed class Nlma : AbstractBase
else
{
// Cycle zone: t continues from 1 upward
double numer = (double)(i - phase + 1) * (2 * Cycle - 1);
double denom = (double)(Cycle * period - 1);
double numer = (double)(i - phase + 1) * ((2 * Cycle) - 1);
double denom = (double)((Cycle * period) - 1);
t = 1.0 + (denom > 0 ? numer / denom : 0.0);
}