Refactored
This commit is contained in:
1 parent
c364c206ad
commit
369214044e
1 file changed
+2
-2
+2
-2
@@ -4,7 +4,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace FastRng.Double.Distributions
|
namespace FastRng.Double.Distributions
|
||||||
{
|
{
|
||||||
public sealed class CauchyLorentz : IDistribution
|
public sealed class CauchyLorentzX0 : IDistribution
|
||||||
{
|
{
|
||||||
private const double CONSTANT = 0.31;
|
private const double CONSTANT = 0.31;
|
||||||
private const double SCALE = 0.1;
|
private const double SCALE = 0.1;
|
||||||
@@ -19,7 +19,7 @@ namespace FastRng.Double.Distributions
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
this.random = value;
|
this.random = value;
|
||||||
this.fitter = new ShapeFitter(CauchyLorentz.ShapeFunction, this.random, 50, 0.98);
|
this.fitter = new ShapeFitter(CauchyLorentzX0.ShapeFunction, this.random, 100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user