Thomas Neidhart created MATH-891:
------------------------------------
Summary: SpearmansCorrelation fails when using NaturalRanking
together with NaNStrategy.REMOVED
Key: MATH-891
URL: https://issues.apache.org/jira/browse/MATH-891
Project: Commons Math
Issue Type: Bug
Reporter: Thomas Neidhart
As reported by Martin Rosellen on the users mailinglist:
Using a NaturalRanking with a REMOVED NaNStrategy can result in an exception
when NaN are contained in the input arrays.
The current implementation just removes the NaN values where they occur,
without taken care to remove the corresponding values in the other array.
--
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