diff --git a/src/Numerics/Distributions/Continuous/Stable.cs b/src/Numerics/Distributions/Continuous/Stable.cs index ecdf2f0d..a2ea6771 100644 --- a/src/Numerics/Distributions/Continuous/Stable.cs +++ b/src/Numerics/Distributions/Continuous/Stable.cs @@ -518,7 +518,7 @@ namespace MathNet.Numerics.Distributions throw new ArgumentOutOfRangeException(Resources.InvalidDistributionParameters); } - return SampleUnchecked(rnd, location, scale, scale, location); + return SampleUnchecked(rnd, alpha, beta, scale, location); } /// @@ -539,7 +539,7 @@ namespace MathNet.Numerics.Distributions while (true) { - yield return SampleUnchecked(rnd, location, scale, scale, location); + yield return SampleUnchecked(rnd, alpha, beta, scale, location); } } }