Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

GeneralizedParetoDistribution shape param #715

Closed
nwiman opened this issue Jul 17, 2017 · 4 comments
Closed

GeneralizedParetoDistribution shape param #715

nwiman opened this issue Jul 17, 2017 · 4 comments

Comments

@nwiman
Copy link

nwiman commented Jul 17, 2017

Hi,
why has the shape param in the GeneralizedParetoDistribution a limit in the latest release?

[Positive(minimum: 2)] double shape
if (shape <= 1)
throw new ArgumentOutOfRangeException("scale", "Shape must be higher than 1.");

Guess that the scale in ArgumentOutOfRangeException is just a typo.

best regards
Weeman

@cesarsouza
Copy link
Member

cesarsouza commented Jul 18, 2017

Hi,

Thanks for opening the issue. It was added by mistake and will be reverted. Would it be feasible for you to revert to the last working version until this issue can be fixed?

Regards,
Cesar

@nwiman
Copy link
Author

nwiman commented Jul 18, 2017

No problem, i'm on the rc right now beacuse i need the functionality to inject another system.random.

Cheers
Weeman

@cesarsouza
Copy link
Member

New pre-release packages (3.6.4-alpha) have just been uploaded to NuGet, which should hopefully contain a fix for the above issue. Thanks again for reporting!

@cesarsouza
Copy link
Member

Included in 3.7.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants