commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Maisonobe (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (MATH-929) MultivariateNormalDistribution.density(double[]) returns wrong value when the dimension is odd
Date Sun, 07 Apr 2013 09:19:19 GMT

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

Luc Maisonobe closed MATH-929.
------------------------------


Closing issue as version 3.2 has been released on 2013-04-06.
                
> MultivariateNormalDistribution.density(double[]) returns wrong value when the dimension
is odd
> ----------------------------------------------------------------------------------------------
>
>                 Key: MATH-929
>                 URL: https://issues.apache.org/jira/browse/MATH-929
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.1.1
>            Reporter: Piotr Wydrych
>            Priority: Critical
>             Fix For: 3.2
>
>         Attachments: MultivariateNormalDistribution.java.patch
>
>
> To reproduce:
> {code}
> Assert.assertEquals(0.398942280401433, new MultivariateNormalDistribution(new double[]{0},
new double[][]{{1}}).density(new double[]{0}), 1e-15);
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message