commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Art (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MATH-1401) Exception at IntervalUtils.getClopperPearsonInterval
Date Wed, 25 Jan 2017 07:38:26 GMT
Art created MATH-1401:
-------------------------

             Summary: Exception at IntervalUtils.getClopperPearsonInterval
                 Key: MATH-1401
                 URL: https://issues.apache.org/jira/browse/MATH-1401
             Project: Commons Math
          Issue Type: Bug
    Affects Versions: 3.6.1
            Reporter: Art


IntervalUtils.getClopperPearsonInterval throws an exception when number of successes equals
to zero.

IntervalUtils.getClopperPearsonInterval(1, 0, 0.95) throws org.apache.commons.math3.exception.NotStrictlyPositiveException
despite that its input parameters are valid. Note, that number of success = 0 is a perfectly
valid value.

 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message