Skip to content

Commit 84d5ea7

Browse files
authored
Added cnp.import_array() call
1 parent f12d37d commit 84d5ea7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

py_stringmatching/similarity_measure/cython/cython_levenshtein.pyx

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ from py_stringmatching.similarity_measure.cython.cython_utils import int_min_thr
77
from numpy import int32
88
from numpy cimport int32_t
99

10+
cnp.import_array()
11+
1012
DTYPE = int
1113
ctypedef cnp.int DTYPE_t
1214

0 commit comments

Comments
 (0)