Skip to content

Commit

Permalink
remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed Sep 13, 2022
1 parent 0eed377 commit e578051
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions zarr/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1949,9 +1949,6 @@ def _chunk_getitems(self, lchunk_coords, lchunk_selection, out, lout_selection,
except TypeError: # pragma: no cover
out_is_ndarray = False

if math.prod(self.shape) <= 0:
return

# Keys to retrieve
ckeys = [self._chunk_key(ch) for ch in lchunk_coords]

Expand Down

0 comments on commit e578051

Please sign in to comment.