From abeceb8e7a1c877caf395c7ac8b31b08734a38c1 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Wed, 30 Sep 2020 19:55:02 +0200 Subject: [PATCH] Formatting --- FastRng/Double/Distributions/Normal.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/FastRng/Double/Distributions/Normal.cs b/FastRng/Double/Distributions/Normal.cs index 3d32a6b..b825280 100644 --- a/FastRng/Double/Distributions/Normal.cs +++ b/FastRng/Double/Distributions/Normal.cs @@ -28,10 +28,7 @@ namespace FastRng.Double.Distributions } } - private static double ShapeFunction(double x) - { - return 1.0 / (STDDEV * SQRT_2PI) * Math.Exp(-Math.Pow((x - MEAN) / STDDEV, 2.0)); - } + private static double ShapeFunction(double x) => 1.0 / (STDDEV * SQRT_2PI) * Math.Exp(-Math.Pow((x - MEAN) / STDDEV, 2.0)); public async ValueTask GetDistributedValue(CancellationToken token = default) {