Fixed missed default token

This commit is contained in:
tsommer committed 2020-09-26 22:10:24 +02:00
1 parent 5f5291343d
commit 7a1ae7889c
1 file changed
+1 -1
+1 -1
View File
@@ -12,7 +12,7 @@ namespace FastRng.Double.Distributions
public double Scale { get; set; } = 1.0;
public async ValueTask<double> GetDistributedValue(CancellationToken token)
public async ValueTask<double> GetDistributedValue(CancellationToken token = default)
{
if (this.Random == null)
return System.Double.NaN;