commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Maisonobe (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (MATH-747) Several Constructors for PoissonDistributionImpl are broken
Date Sat, 24 Mar 2012 16:24:26 GMT

     [ https://issues.apache.org/jira/browse/MATH-747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Luc Maisonobe closed MATH-747.
------------------------------


changing status to closed as 3.0 has been released
                
> 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

        

Mime
View raw message