Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
thodson-usgs authored Jan 29, 2024
1 parent 497a50b commit 13de912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numcodecs/bitround.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, keepbits: [int, Callable]):
raise ValueError("keepbits must be zero or positive")

elif isinstance(keepbits, int):
self.keepbits = [lambda x: keepbits]
self.keepbits = lambda x: keepbits

elif isinstance(keepbits, Callable):
self.keepbits = keepbits
Expand Down

0 comments on commit 13de912

Please sign in to comment.