Skip to content

Commit

Permalink
Merge pull request #893 from happycube/chad-2024.06.29
Browse files Browse the repository at this point in the history
Fix Python 3.12+friends by forcing 'linecode' to np.int64 (was using …
  • Loading branch information
happycube committed Jun 29, 2024
2 parents 5c23ded + e6f401b commit 4245bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lddecode/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2620,7 +2620,7 @@ def decodephillipscode(self, linenum):

if valid:
bitset = [z[1] for z in zc]
linecode = 0
linecode = np.int64(0)

for b in range(0, 24, 4):
linecode *= 0x10
Expand Down

0 comments on commit 4245bc6

Please sign in to comment.