We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e729062 commit a5e1bd3Copy full SHA for a5e1bd3
wfdb/io/annotation.py
@@ -2237,8 +2237,8 @@ def proc_core_fields(filebytes, bpi):
2237
2238
# Not a skip - it is the actual sample number + annotation type store value
2239
label_store = int(filebytes[bpi, 1]) >> 2
2240
- sample_diff += np.int64(filebytes[bpi, 0]) + 256 * np.int64(
2241
- filebytes[bpi, 1] & 3
+ sample_diff += np.int64(filebytes[bpi, 0]) + 256 * (
+ np.int64(filebytes[bpi, 1]) & 3
2242
)
2243
bpi = bpi + 1
2244
0 commit comments