[
https://issues.apache.org/jira/browse/MATH-929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gilles updated MATH-929:
------------------------
Fix Version/s: 3.2
> 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