Skip to content

Commit f770c97

Browse files
authored
Fix 32-bit builds by correctly using intp_t instead of int64_t for numpy.searchsorted result, part 2 (#24621) (#24640)
1 parent 510afa7 commit f770c97

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/_libs/tslibs/conversion.pyx

+2-1
Original file line numberDiff line numberDiff line change
@@ -1290,7 +1290,8 @@ def is_date_array_normalized(int64_t[:] stamps, object tz=None):
12901290
cdef:
12911291
Py_ssize_t i, n = len(stamps)
12921292
ndarray[int64_t] trans
1293-
int64_t[:] deltas, pos
1293+
int64_t[:] deltas
1294+
intp_t[:] pos
12941295
npy_datetimestruct dts
12951296
int64_t local_val, delta
12961297
str typ

0 commit comments

Comments
 (0)