commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MATH-1175) Laplace's inverse cumulative probability of 0 is not 0, but -Inf
Date Wed, 03 Dec 2014 11:35:12 GMT

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

Gilles resolved MATH-1175.
--------------------------
       Resolution: Fixed
    Fix Version/s: 3.4

Fixed in commit 17f52a2e559e68d5c6ccc98fcebb5523161fd0ed

Thanks for the report.


> Laplace's inverse cumulative probability of 0 is not 0, but -Inf
> ----------------------------------------------------------------
>
>                 Key: MATH-1175
>                 URL: https://issues.apache.org/jira/browse/MATH-1175
>             Project: Commons Math
>          Issue Type: Bug
>            Reporter: Karsten Loesing
>            Priority: Minor
>             Fix For: 3.4
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> From reading the code, the following line should be changed from `return 0.0;` to `return
Double.NEGATIVE_INFINITY`: https://git-wip-us.apache.org/repos/asf?p=commons-math.git;a=blob;f=src/main/java/org/apache/commons/math3/distribution/LaplaceDistribution.java;h=f8b9355867b6e580323de6862fd303744cb1b2e2;hb=HEAD#l110



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

Mime
View raw message