From 19eb4b5f4e848aebfeb36d26c9af3390faffbbb9 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Wed, 30 Sep 2020 20:19:34 +0200 Subject: [PATCH] Changed default sampling to 50 samples --- FastRng/Double/ShapeFitter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FastRng/Double/ShapeFitter.cs b/FastRng/Double/ShapeFitter.cs index e786ad1..43e9a8d 100644 --- a/FastRng/Double/ShapeFitter.cs +++ b/FastRng/Double/ShapeFitter.cs @@ -13,7 +13,7 @@ namespace FastRng.Double private readonly ushort sampleSize; private readonly double threshold; - public ShapeFitter(Func shapeFunction, IRandom rng, ushort sampleSize = 100, double threshold = 0.99) + public ShapeFitter(Func shapeFunction, IRandom rng, ushort sampleSize = 50, double threshold = 0.99) { this.rng = rng; this.threshold = threshold;