[
https://issues.apache.org/jira/browse/MATH-747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211070#comment-13211070
]
Gilles commented on MATH-747:
-----------------------------
You are right.
I suggest that you try the snapshot of the upcoming version 3.0 (there won't be
a 2.2.1 release).
> Several Constructors for PoissonDistributionImpl are broken
> -----------------------------------------------------------
>
> Key: MATH-747
> URL: https://issues.apache.org/jira/browse/MATH-747
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Steve Appling
> Priority: Critical
> Fix For: 2.2.1
>
>
> Only the constructor PoissonDistributionImpl(double) seems to actually work.
> All of the others cause a NullPointerException. The working one creates a
> default NormalDistribution, but all of the others just leave the member
> "normal" set to null and cause an NPE in the constructor.
> I can't even find a work around to construct a PoissonDistributionImpl with
> both a specified mean and an epsilon, since there is no way to set epsilon
> after creation and the constructor PoissonDistributionImpl(double p, double
> epsilon) does not work.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira