diff options
Diffstat (limited to 'numpy/lib/histograms.py')
-rw-r--r-- | numpy/lib/histograms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/histograms.py b/numpy/lib/histograms.py index ccc6c0616..cf40fcfe0 100644 --- a/numpy/lib/histograms.py +++ b/numpy/lib/histograms.py @@ -860,7 +860,7 @@ def histogramdd(sample, bins=10, range=None, normed=False, weights=None): ni[i], ni[j] = ni[j], ni[i] # Remove outliers (indices 0 and -1 for each dimension). - core = D*[slice(1, -1)] + core = D*(slice(1, -1),) hist = hist[core] # Normalize if normed is True |