Merge dev into main: v0.8.7 Kahan compensated summation

This commit is contained in:
Miha Kralj
2026-03-13 22:01:52 -07:00
79 changed files with 2923 additions and 2495 deletions
+1 -2
View File
@@ -29,7 +29,6 @@ public sealed class TukeyBiweight : BiInputIndicatorBase
{
private readonly double _cSquaredOver6;
private const double DefaultC = 4.685; // 95% efficiency for normal distribution
private const int BatchResyncInterval = 1000; // Local constant for static Batch method
public TukeyBiweight(int period, double c = DefaultC)
: base(period, $"TukeyBiweight({period},{c:F3})")
@@ -122,7 +121,7 @@ public sealed class TukeyBiweight : BiInputIndicatorBase
ErrorHelpers.ComputeTukeyBiweightErrors(actual, predicted, errors, c);
// Step 2: Apply rolling mean
ErrorHelpers.ApplyRollingMean(errors, output, period, BatchResyncInterval);
ErrorHelpers.ApplyRollingMean(errors, output, period);
}
finally
{