Skip to content

Commit 1f0f87a

Browse files
committed
use khiter_t instead of int
1 parent 3eab310 commit 1f0f87a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/hashtable.pyx

+2-2
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ cdef class Int64Factorizer:
906906

907907
cdef build_count_table_int64(ndarray[int64_t] values, kh_int64_t *table):
908908
cdef:
909-
int k
909+
khiter_t k
910910
Py_ssize_t i, n = len(values)
911911
int ret = 0
912912

@@ -948,7 +948,7 @@ cdef build_count_table_object(ndarray[object] values,
948948
ndarray[uint8_t, cast=True] mask,
949949
kh_pymap_t *table):
950950
cdef:
951-
int k
951+
khiter_t k
952952
Py_ssize_t i, n = len(values)
953953
int ret = 0
954954

0 commit comments

Comments
 (0)