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
@@ -60,7 +60,10 @@ public sealed class Mae : BiInputIndicatorBase
public static void Batch(ReadOnlySpan<double> actual, ReadOnlySpan<double> predicted, Span<double> output, int period)
{
ValidateBatchInputs(actual, predicted, output, period);
if (actual.Length == 0) return;
if (actual.Length == 0)
{
return;
}
// Allocate temporary buffer for absolute errors
const int StackAllocThreshold = 256;
@@ -86,4 +89,4 @@ public sealed class Mae : BiInputIndicatorBase
}
}
}
}
}