Skip to content

Commit

Permalink
Try to fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Apr 24, 2024
1 parent cfacd8d commit be5393f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stack_to_chunk/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def memory_per_process(input_data: Array, *, chunk_size: int) -> int:
slice and chunk_size is the chunk size of the output zarr store.
"""
itemsize = np.dtype(input_data.dtype).itemsize
return int(input_data.shape[0]) * int(input_data.shape[1]) * itemsize * chunk_size
return int(input_data.shape[0] * input_data.shape[1] * itemsize * chunk_size)


class MultiScaleGroup:
Expand Down

0 comments on commit be5393f

Please sign in to comment.