From 0609f3eab309720c59999aae953a958b1539989d Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sat, 26 Sep 2020 21:58:27 +0200 Subject: [PATCH] Fixed missed default token --- FastRng/Double/Distributions/InverseGamma.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FastRng/Double/Distributions/InverseGamma.cs b/FastRng/Double/Distributions/InverseGamma.cs index cc027fc..70cd441 100644 --- a/FastRng/Double/Distributions/InverseGamma.cs +++ b/FastRng/Double/Distributions/InverseGamma.cs @@ -24,7 +24,7 @@ namespace FastRng.Double.Distributions public double Scale { get; set; } = 1.0; - public async ValueTask GetDistributedValue(CancellationToken token) + public async ValueTask GetDistributedValue(CancellationToken token = default) { if (this.Random == null) return System.Double.NaN;