Refactor: Update variable declarations for consistency and clarity across multiple files

This commit is contained in:
Miha Kralj
2025-12-29 09:45:16 -08:00
parent 16a21a5b65
commit bfa92e554b
6 changed files with 17 additions and 19 deletions
+2 -2
View File
@@ -115,7 +115,7 @@ public static class IndicatorExtensions
int count = leftIndex - rightIndex;
if (count <= 0) return Array.Empty<Point>();
Point[] allPoints = new Point[count];
var allPoints = new Point[count];
for (int i = 0; i < count; i++)
{
@@ -191,7 +191,7 @@ public static class IndicatorExtensions
if (showColdValues)
{
int coldStart = Math.Max(0, hotCount);
int coldSegments = (count - 1) - coldStart;
int coldSegments = count - coldStart - 1;
if (coldSegments > 0)
{