mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-15 09:08:04 +00:00
fix: update return type for empty source in Jma to an empty array
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user