Fixed missed default token

This commit is contained in:
Thorsten Sommer 2020-09-26 22:43:41 +02:00
parent 169e42913c
commit 42a6aa323d

View File

@ -23,7 +23,7 @@ namespace FastRng.Double.Distributions
}
}
public async ValueTask<double> GetDistributedValue(CancellationToken token)
public async ValueTask<double> GetDistributedValue(CancellationToken token = default)
{
if (this.Random == null)
return System.Double.NaN;