[
https://issues.apache.org/jira/browse/MATH-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Neidhart resolved MATH-1280.
-----------------------------------
Resolution: Duplicate
Fix Version/s: 3.6
4.0
This is a duplicate of the referenced issue and has already been fixed.
> DescriptiveStatistics methods return NaN for operations on arrays with single
> items
> -----------------------------------------------------------------------------------
>
> Key: MATH-1280
> URL: https://issues.apache.org/jira/browse/MATH-1280
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 3.4
> Reporter: Marlon Gaspar Machado
> Fix For: 4.0, 3.6
>
>
> 1. Create a DescriptiveStatistics object passing an array with only one value
> 2. Call getMean() method
> 3. Call getStandardDeviation() method
> 4. Both return NaN
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)