You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2014/12/03 12:35:12 UTC
[jira] [Resolved] (MATH-1175) Laplace's inverse cumulative
probability of 0 is not 0, but -Inf
[ 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)