Skip to content

Commit

Permalink
feat: remove restriction on same stored data type
Browse files Browse the repository at this point in the history
This gets reconfigured dynamically.
  • Loading branch information
william-silversmith committed Jul 20, 2024
1 parent 3328dfa commit 0beb765
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crackle/codec.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,8 +699,6 @@ def zstack(images:Sequence[Union[np.ndarray, bytes]]) -> bytes:
raise ValueError("All binaries must be in either Fortran or C order.")
if head.data_width != first_head.data_width:
raise ValueError("All binaries must be the same data width.")
if head.stored_data_width != first_head.stored_data_width:
raise ValueError("All binaries must be the same stored data width.")
if head.signed != first_head.signed:
raise ValueError("All binaries must have the same sign.")

Expand Down

0 comments on commit 0beb765

Please sign in to comment.