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 NullPointeException.  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

        

Reply via email to