Skip to content

Commit

Permalink
Fix parentheses on type cast.
Browse files Browse the repository at this point in the history
  • Loading branch information
tompollard committed Oct 10, 2024
1 parent 0ab9d5c commit 65c4b1b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wfdb/io/annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -2238,8 +2238,7 @@ def proc_core_fields(filebytes, bpi):
# Not a skip - it is the actual sample number + annotation type store value
label_store = int(filebytes[bpi, 1]) >> 2
sample_diff += np.int64(filebytes[bpi, 0]) + 256 * np.int64(
filebytes[bpi, 1] & 3
)
filebytes[bpi, 1]) & 3
bpi = bpi + 1

return sample_diff, label_store, bpi
Expand Down

0 comments on commit 65c4b1b

Please sign in to comment.