[ 
https://issues.apache.org/jira/browse/MATH-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003369#comment-13003369
 ] 

Phil Steitz commented on MATH-540:
----------------------------------

You have a choice in defining the inverse cum whether to define it the way we 
have or to use and inf rather than a sup.  We can implement sampling using the 
current impl.  We just need to take into account the way the inverse cum is 
defined in AbstractIntegerDistribution.  

> 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

Reply via email to