style patterns

This commit is contained in:
Miha Kralj
2026-01-25 16:01:45 -08:00
parent 2836f253c4
commit e59665c8f0
399 changed files with 6892 additions and 1323 deletions
+5 -2
View File
@@ -57,7 +57,10 @@ public sealed class StdDev : AbstractBase
public override TSeries Update(TSeries source)
{
if (source.Count == 0) return [];
if (source.Count == 0)
{
return [];
}
int len = source.Count;
var t = new List<long>(len);
@@ -189,4 +192,4 @@ public sealed class StdDev : AbstractBase
data[i] = (val > 0) ? Math.Sqrt(val) : 0.0;
}
}
}
}