[
https://issues.apache.org/jira/browse/MATH-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14947026#comment-14947026
]
Gilles commented on MATH-1280:
------------------------------
I cannot reproduce this behaviour on the development code (for upcoming
versions 3.6 and 4.0).
Please let us know whether the bug exists on version 3.5 (current supported
version):
http://commons.apache.org/proper/commons-math/download_math.cgi
> 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
>
> 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)