Formatting

This commit is contained in:
Thorsten Sommer 2020-09-30 19:55:02 +02:00
parent 68be4be9db
commit abeceb8e7a

View File

@ -28,10 +28,7 @@ namespace FastRng.Double.Distributions
} }
} }
private static double ShapeFunction(double x) private static double ShapeFunction(double x) => 1.0 / (STDDEV * SQRT_2PI) * Math.Exp(-Math.Pow((x - MEAN) / STDDEV, 2.0));
{
return 1.0 / (STDDEV * SQRT_2PI) * Math.Exp(-Math.Pow((x - MEAN) / STDDEV, 2.0));
}
public async ValueTask<double> GetDistributedValue(CancellationToken token = default) public async ValueTask<double> GetDistributedValue(CancellationToken token = default)
{ {