Skip to content

Commit

Permalink
explicitly specify int64 for base LazyArray.nbytes because windows is…
Browse files Browse the repository at this point in the history
… weird
  • Loading branch information
kushalkolar authored Feb 21, 2024
2 parents d26857d + 359756c commit 74345ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesmerize_core/arrays/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def nbytes(self) -> int:
int
number of bytes for the array if it were fully computed
"""
return np.prod(self.shape + (np.dtype(self.dtype).itemsize,))
return np.prod(self.shape + (np.dtype(self.dtype).itemsize,), dtype=np.int64)

@property
def nbytes_gb(self) -> float:
Expand Down

0 comments on commit 74345ef

Please sign in to comment.