Fixed missed default token

This commit is contained in:
tsommer committed 2020-09-26 22:26:58 +02:00
1 parent a9370e0218
commit 0973839f48
1 file changed
+1 -1
+1 -1
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) if (this.Random == null)
return System.Double.NaN; return System.Double.NaN;