Skip to content

Commit 4baf1e1

Browse files
committed
Fix fletecher32's cimports
1 parent 4341ce3 commit 4baf1e1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

numcodecs/fletcher32.pyx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
# cython: overflowcheck=False
33
# cython: cdivision=True
44

5-
from numcodecs.abc import Codec
6-
from numcodecs.compat import ensure_contiguous_ndarray
75

86
from libc.stdint cimport uint8_t, uint16_t, uint32_t
97

8+
from cpython.bytes cimport PyBytes_FromStringAndSize
9+
1010
from ._utils cimport store_le32, load_le32
1111

12+
from numcodecs.abc import Codec
13+
from numcodecs.compat import ensure_contiguous_ndarray
14+
1215

1316
cdef uint32_t _fletcher32(const uint8_t[::1] _data):
1417
# converted from

0 commit comments

Comments
 (0)