Afirma + documentation +semver: patch

This commit is contained in:
Miha Kralj
2024-09-24 16:41:26 -07:00
parent 07efb4b0de
commit 133c65ceaf
250 changed files with 14425 additions and 713 deletions
+1 -5
View File
@@ -12,16 +12,12 @@ public class Rema : AbstractBase
public int Period => _period;
public double Lambda => _lambda;
public Rema(int period, double lambda = 0.5)
public Rema(int period, double lambda = 0.5) : base()
{
if (period < 1)
{
throw new ArgumentOutOfRangeException(nameof(period), "Period must be greater than or equal to 1.");
}
if (lambda < 0)
{
throw new ArgumentOutOfRangeException(nameof(lambda), "Lambda must be non-negative.");
}
_period = period;
_lambda = lambda;