[ https://issues.apache.org/jira/browse/MATH-747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilles resolved MATH-747. ------------------------- Resolution: Won't Fix Fix Version/s: (was: 2.2.1) 3.0 The code does not exist anymore in "trunk". > 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: 3.0 > > > 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