Fixed missed default token
This commit is contained in:
parent
82a5d343dd
commit
0743451a5f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user