[
https://issues.apache.org/jira/browse/MATH-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14947447#comment-14947447
]
Marlon Gaspar Machado commented on MATH-1280:
---------------------------------------------
Thanks, Thomas.
> 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)