From 12ad666ec97095890cb0b02b21d5fd4d703e08fb Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Wed, 30 Sep 2020 19:49:00 +0200 Subject: [PATCH] Added cancellation token --- FastRng/Double/Distributions/Normal.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FastRng/Double/Distributions/Normal.cs b/FastRng/Double/Distributions/Normal.cs index b01d720..d6e6dd2 100644 --- a/FastRng/Double/Distributions/Normal.cs +++ b/FastRng/Double/Distributions/Normal.cs @@ -38,7 +38,7 @@ namespace FastRng.Double.Distributions if (this.Random == null) return double.NaN; - return await this.fitter.NextNumber(); // TODO: Add token! + return await this.fitter.NextNumber(token); } } } \ No newline at end of file