diff --git a/FastRngTests/Double/Distributions/ChiSquareK4.cs b/FastRngTests/Double/Distributions/ChiSquareK4.cs index e5a0dd0..448b111 100644 --- a/FastRngTests/Double/Distributions/ChiSquareK4.cs +++ b/FastRngTests/Double/Distributions/ChiSquareK4.cs @@ -20,10 +20,7 @@ namespace FastRngTests.Double.Distributions var rng = new MultiThreadedRng(); for (var n = 0; n < 100_000; n++) - { - var value = await rng.NextNumber(dist); - fqa.CountThis(value); - } + fqa.CountThis(await rng.NextNumber(dist)); rng.StopProducer();