Kendall Tau: avoid integer overflow
Large n values can easily lead to n * (n - 1) / 2 to be larger than a
31-bit integer.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Johannes Schindelin <johannes.schindelin@gmx.de> | Feb 11 2014, 02:29 |
oburri | Mar 8 2018, 18:06 |