Skip to content
Snippets Groups Projects
Commit bbf4fdc2 authored by Neil Conway's avatar Neil Conway
Browse files

Prevent corr() from returning the wrong results for negative correlation

values. The previous coding essentially assumed that x = sqrt(x*x), which
does not hold for x < 0.

Thanks to Jie Zhang at Greenplum and Gavin Sherry for reporting this
issue.
parent 4893eadc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment