Skip to content

Commit 65c4b1b

Browse files
committed
Fix parentheses on type cast.
1 parent 0ab9d5c commit 65c4b1b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

wfdb/io/annotation.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2238,8 +2238,7 @@ def proc_core_fields(filebytes, bpi):
22382238
# Not a skip - it is the actual sample number + annotation type store value
22392239
label_store = int(filebytes[bpi, 1]) >> 2
22402240
sample_diff += np.int64(filebytes[bpi, 0]) + 256 * np.int64(
2241-
filebytes[bpi, 1] & 3
2242-
)
2241+
filebytes[bpi, 1]) & 3
22432242
bpi = bpi + 1
22442243

22452244
return sample_diff, label_store, bpi

0 commit comments

Comments
 (0)