Fixed missed default token

This commit is contained in:
Thorsten Sommer 2020-09-26 21:53:00 +02:00
parent b810bede2a
commit fbe0ee91c5

View File

@ -22,7 +22,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;