diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2018-04-08 14:19:40 -0700 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2018-04-08 15:01:27 -0700 |
commit | dbaca82d6d8c63f4d48ec08ae07e45e5b7bc2000 (patch) | |
tree | 92a18742f09dc351d855769fe1153e6552e03bb8 /numpy/lib/histograms.py | |
parent | ad53a1fa29ae1da089213dadb5734714ed0d7e76 (diff) | |
download | numpy-dbaca82d6d8c63f4d48ec08ae07e45e5b7bc2000.tar.gz |
MAINT: Remove asarray call on a known array
Diffstat (limited to 'numpy/lib/histograms.py')
-rw-r--r-- | numpy/lib/histograms.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/lib/histograms.py b/numpy/lib/histograms.py index ed38ef851..49f741dd4 100644 --- a/numpy/lib/histograms.py +++ b/numpy/lib/histograms.py @@ -894,8 +894,6 @@ def histogramdd(sample, bins=10, range=None, normed=False, weights=None): nbin[i] = len(edges[i]) + 1 # includes an outlier on each end dedges[i] = np.diff(edges[i]) - nbin = np.asarray(nbin) - # Handle empty input. if N == 0: return np.zeros(nbin-2), edges |