Formatting

This commit is contained in:
tsommer committed 2020-09-30 19:55:02 +02:00
1 parent 68be4be9db
commit abeceb8e7a
1 file changed
+1 -4
+1 -4
View File
@@ -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<double> GetDistributedValue(CancellationToken token = default)
{