fix: update return statement to use spread operator for TSeries in Adx and Adxr classes

This commit is contained in:
Miha Kralj
2025-12-22 15:51:44 -08:00
parent 2c114fdb08
commit 31cca5557f
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -433,6 +433,6 @@ public sealed class Adx : ITValuePublisher
tList.Add(times[i]);
}
return new TSeries(tList, new List<double>(v));
return new TSeries(tList, [.. v]);
}
}
+1 -1
View File
@@ -230,6 +230,6 @@ public sealed class Adxr : ITValuePublisher
tList.Add(times[i]);
}
return new TSeries(tList, new List<double>(v));
return new TSeries(tList, [.. v]);
}
}