Quick fix, added todo

This commit is contained in:
Thorsten Sommer 2020-09-29 20:24:55 +02:00
parent e6ec8aeafa
commit 1110a080ac

View File

@ -28,7 +28,7 @@ namespace FastRng.Double.Distributions
if (this.Random == null)
return double.NaN;
var normal = await this.Random.NextNumber(new Normal {Mean = this.Mu, StandardDeviation = this.Sigma}, token);
var normal = await this.Random.NextNumber(new Normal(), token); // TODO: Check all distributions. Used distributions must be static readonly!
return Math.Exp(normal);
}
}