Fixed missed default token

This commit is contained in:
Thorsten Sommer 2020-09-26 22:57:30 +02:00
parent 9fe32ec0e4
commit 788bcbc91d

View File

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