Skip to content

Commit

Permalink
Fix 32-bit builds by correctly using intp_t instead of int64_t for nu…
Browse files Browse the repository at this point in the history
…mpy.searchsorted result, part 2 (pandas-dev#24621) (pandas-dev#24640)
  • Loading branch information
jreback authored Jan 5, 2019
1 parent 510afa7 commit f770c97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pandas/_libs/tslibs/conversion.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1290,7 +1290,8 @@ def is_date_array_normalized(int64_t[:] stamps, object tz=None):
cdef:
Py_ssize_t i, n = len(stamps)
ndarray[int64_t] trans
int64_t[:] deltas, pos
int64_t[:] deltas
intp_t[:] pos
npy_datetimestruct dts
int64_t local_val, delta
str typ
Expand Down

0 comments on commit f770c97

Please sign in to comment.