fix: update return type for empty source in Jma to an empty array

This commit is contained in:
Miha Kralj
2025-12-13 22:32:12 -08:00
parent c1a476ed9c
commit 7168866098
+1 -1
View File
@@ -248,7 +248,7 @@ public sealed class Jma : ITValuePublisher
{
int n = source.Count;
if (n == 0)
return new TSeries(0);
return [];
var t = new List<long>(n);
var v = new List<double>(n);