Changed default sampling to 50 samples
This commit is contained in:
parent
0a61f0da37
commit
19eb4b5f4e
@ -13,7 +13,7 @@ namespace FastRng.Double
|
|||||||
private readonly ushort sampleSize;
|
private readonly ushort sampleSize;
|
||||||
private readonly double threshold;
|
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.rng = rng;
|
||||||
this.threshold = threshold;
|
this.threshold = threshold;
|
||||||
|
Loading…
Reference in New Issue
Block a user