You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Luc Maisonobe (JIRA)" <ji...@apache.org> on 2013/04/07 11:19:19 UTC

[jira] [Closed] (MATH-929) MultivariateNormalDistribution.density(double[]) returns wrong value when the dimension is odd

     [ 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