[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
+2 -2
View File
@@ -48,11 +48,11 @@ public sealed class CfbIndicator : Indicator, IWatchlistIndicator
protected override void OnInit()
{
// Generate lengths array
int count = (MaxLength - MinLength) / Step + 1;
int count = ((MaxLength - MinLength) / Step) + 1;
int[] lengths = new int[count];
for (int i = 0; i < count; i++)
{
lengths[i] = MinLength + i * Step;
lengths[i] = MinLength + (i * Step);
}
_cfb = new Cfb(lengths);