commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MATH-929) MultivariateNormalDistribution.density(double[]) returns wrong value when the dimension is odd
Date Tue, 15 Jan 2013 12:10:13 GMT

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

Gilles updated MATH-929:
------------------------

    Priority: Critical  (was: Blocker)
    
> 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
>         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