refactor: Update list initialization in DEMA, EMA, SMA, T3, TEMA, TRIMA, and WMA classes for improved readability

This commit is contained in:
Miha Kralj
2025-12-08 19:11:53 -05:00
parent 5f57cbbe74
commit c1caaf36b4
8 changed files with 22 additions and 11 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ public sealed class T3 : ITValuePublisher
public TSeries Update(TSeries source)
{
if (source.Count == 0) return new TSeries();
if (source.Count == 0) return [];
int len = source.Count;
var t = new List<long>(len);