Skip to content

Commit 9b4b790

Browse files
authored
Update sparselybin.py
1 parent 5c98f72 commit 9b4b790

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

histogrammar/primitives/sparselybin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ def _numpy(self, data, weights, shape):
511511
self.bins[index]._numpy(None, c, [None])
512512
else:
513513
# all other cases ...
514-
selection = np.empty(q.shape, dtype=np.bool)
514+
selection = np.empty(q.shape, dtype=bool)
515515
for index in np.unique(selected):
516516
if index != LONG_NAN:
517517
bin = self.bins.get(index)

0 commit comments

Comments
 (0)