From fbe0ee91c50724f845b4554246adc15cfa4f2704 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sat, 26 Sep 2020 21:53:00 +0200 Subject: [PATCH] Fixed missed default token --- FastRng/Double/Distributions/Exponential.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FastRng/Double/Distributions/Exponential.cs b/FastRng/Double/Distributions/Exponential.cs index c390e5d..27467e9 100644 --- a/FastRng/Double/Distributions/Exponential.cs +++ b/FastRng/Double/Distributions/Exponential.cs @@ -22,7 +22,7 @@ namespace FastRng.Double.Distributions } } - public async ValueTask GetDistributedValue(CancellationToken token) + public async ValueTask GetDistributedValue(CancellationToken token = default) { if (this.Random == null) return System.Double.NaN;