summaryrefslogtreecommitdiff
path: root/numpy/lib/histograms.py
diff options
context:
space:
mode:
authorNavpreet Singh <navpreet_np@yahoo.com>2022-11-18 02:57:11 -0500
committerGitHub <noreply@github.com>2022-11-18 08:57:11 +0100
commit72af24df557802015820714aaa3d105d53216431 (patch)
tree9b9cef2bc929badd85f44dd19b26fef4c8db203b /numpy/lib/histograms.py
parenteaf06380b0ab62337e28f4e772310db8d97d4e67 (diff)
downloadnumpy-72af24df557802015820714aaa3d105d53216431.tar.gz
BUG: Histogramdd breaks on big arrays in Windows (#22561)
* BUG: Histogramdd breaks on big arrays in Windows Resolved the issue with line change from int to np.intp in numpy/numpy/lib/histograms.py * BUG: Histogramdd breaks on big arrays in Windows Resolved the issue with line change from int to np.intp in numpy/numpy/lib/histograms.py * Removed the binary files * Update test_histograms.py * Update test_histograms.py * Update test_histograms.py
Diffstat (limited to 'numpy/lib/histograms.py')
-rw-r--r--numpy/lib/histograms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/histograms.py b/numpy/lib/histograms.py
index 704f69dce..0dfa7b4c1 100644
--- a/numpy/lib/histograms.py
+++ b/numpy/lib/histograms.py
@@ -970,7 +970,7 @@ def histogramdd(sample, bins=10, range=None, density=None, weights=None):
sample = np.atleast_2d(sample).T
N, D = sample.shape
- nbin = np.empty(D, int)
+ nbin = np.empty(D, np.intp)
edges = D*[None]
dedges = D*[None]
if weights is not None: