Skip to content

Commit

Permalink
Update zarr/core.py
Browse files Browse the repository at this point in the history
Co-Authored-By: James Bourbeau <[email protected]>
  • Loading branch information
jakirkham and jrbourbeau authored Nov 8, 2019
1 parent e5814e5 commit 8c8f78d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zarr/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2008,7 +2008,7 @@ def _resize_nosync(self, *args):

# determine the new number and arrangement of chunks
chunks = self._chunks
new_cdata_shape = tuple(int(math.ceil(s / c))
new_cdata_shape = tuple(math.ceil(s / c)
for s, c in zip(new_shape, chunks))

# remove any chunks not within range
Expand Down

0 comments on commit 8c8f78d

Please sign in to comment.