Skip to content

Commit

Permalink
fix(datatypes): correct uint upper bounds
Browse files Browse the repository at this point in the history
After adding the previous test case I found this bug.
  • Loading branch information
NickCrews authored and cpcloud committed Oct 14, 2023
1 parent ab3ed16 commit 5ca56d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibis/expr/datatypes/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ def largest(self):
@property
def bounds(self):
exp = self.nbytes * 8
upper = 1 << exp
upper = (1 << exp) - 1
return Bounds(lower=0, upper=upper)


Expand Down

0 comments on commit 5ca56d5

Please sign in to comment.