diff --git a/FastRng/Double/Distributions/Beta.cs b/FastRng/Double/Distributions/Beta.cs index d51a6cf..cc75c71 100644 --- a/FastRng/Double/Distributions/Beta.cs +++ b/FastRng/Double/Distributions/Beta.cs @@ -37,7 +37,7 @@ namespace FastRng.Double.Distributions public async ValueTask GetDistributedValue(CancellationToken token = default) { if (this.Random == null) - return System.Double.NaN; + return double.NaN; // There are more efficient methods for generating beta samples. // However such methods are a little more efficient and much more complicated.