You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Phil Steitz (JIRA)" <ji...@apache.org> on 2011/03/07 18:53:59 UTC
[jira] Closed: (MATH-540)
AbstractIntegerDistribution.inverseCumulativeProbability(...) Bug
[ https://issues.apache.org/jira/browse/MATH-540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phil Steitz closed MATH-540.
----------------------------
Resolution: Not A Problem
I am sorry. I forgot that we had in fact already implemented this in version 2.2. See AbstractIntegerDistribution#sample. The base class implementation delegates to RandomDataImpl#nextInversionDeviate (adding one per the last comment).
> AbstractIntegerDistribution.inverseCumulativeProbability(...) Bug
> -----------------------------------------------------------------
>
> Key: MATH-540
> URL: https://issues.apache.org/jira/browse/MATH-540
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 2.1
> Reporter: Ole Ersoy
> Fix For: 3.0
>
> Attachments: DummyDiscreteDistribution.java, DummyDiscreteDistributionTest.java
>
>
> The AbstractIntegerDistribution.inverseCumulativeProbability(...) function attempts to decrement the lower bound of discrete distributions to values that go below the lower bound.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira