Skip to content

Commit b6d91ce

Browse files
committed
Space out input arg handling & checksum check
1 parent 7d68d53 commit b6d91ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

numcodecs/fletcher32.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ class Fletcher32(Codec):
8484
"""Check fletcher checksum, and return buffer without it"""
8585
b = ensure_contiguous_ndarray(buf).view('uint8')
8686
cdef const uint8_t[::1] b_mv = b
87+
8788
val = _fletcher32(b_mv[:-4])
8889
found = load_le32(&b_mv[-4])
8990
if val != found:

0 commit comments

Comments
 (0)