Changed default sampling to 50 samples

This commit is contained in:
Thorsten Sommer 2020-09-30 20:19:34 +02:00
parent 0a61f0da37
commit 19eb4b5f4e

View File

@ -13,7 +13,7 @@ namespace FastRng.Double
private readonly ushort sampleSize;
private readonly double threshold;
public ShapeFitter(Func<double, double> shapeFunction, IRandom rng, ushort sampleSize = 100, double threshold = 0.99)
public ShapeFitter(Func<double, double> shapeFunction, IRandom rng, ushort sampleSize = 50, double threshold = 0.99)
{
this.rng = rng;
this.threshold = threshold;