forked from scipy/scipy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Fixes scipygh-12218, TypeError converting int to float inside st…
…ats.ks_2samp (scipy#12280) A multiplication of large integers fed as input to np.sqrt exceeded its ability to convert to float, generating a TypeError inside stats.ks_2samp() for large samples. If both sample sizes were larger than about 2^21 (~cube root of 2^64, or about 2million), this condition would be triggered.
- Loading branch information
1 parent
98d21ba
commit 0a1b9a8
Showing
2 changed files
with
21 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters