Fixed integer overflow in KolmogorovSmirnovTest causing 2-sample test
authorPhil Steitz <phil.steitz@gmail.com>
Mon, 15 Dec 2014 13:44:53 +0000 (06:44 -0700)
committerPhil Steitz <phil.steitz@gmail.com>
Mon, 15 Dec 2014 13:44:53 +0000 (06:44 -0700)
commit2fb2221d487d925fd5d716173a80c798986aadf0
tree77e381eb33656c351cee2803ae2dee4469f7f768
parent7fb571b16cc4a0912e8d74609941563c79fe9e97
Fixed integer overflow in KolmogorovSmirnovTest causing 2-sample test
to use exact method when the product of the sample sizes exceeds
Integer.MAX_VALUE, resulting in effectively hung execution.

JIRA: MATH-1181
Reported by Gilad
src/changes/changes.xml
src/main/java/org/apache/commons/math3/stat/inference/KolmogorovSmirnovTest.java
src/test/java/org/apache/commons/math3/stat/inference/KolmogorovSmirnovTestTest.java