Changed default sampling to 50 samples

This commit is contained in:
tsommer committed 2020-09-30 20:19:34 +02:00
1 parent 0a61f0da37
commit 19eb4b5f4e
1 file changed
+1 -1
+1 -1
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;