Skip to content

Commit

Permalink
Add support for numpy 2.0 (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaramallion authored Jun 17, 2024
1 parent 34eac05 commit 6442a38
Show file tree
Hide file tree
Showing 3 changed files with 941 additions and 315 deletions.
2 changes: 1 addition & 1 deletion jpeg_ls/CharLS.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def encode_array(
rows,
columns,
samples_per_pixel,
math.ceil(math.log(arr.max() + 1, 2)),
math.ceil(math.log(int(arr.max()) + 1, 2)),
)


Expand Down
Loading

0 comments on commit 6442a38

Please sign in to comment.