Skip to content

Commit

Permalink
try int64_t
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Mar 14, 2024
1 parent d3ae4e9 commit b8ea98c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/_libs/lib.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ def is_range_indexer(ndarray[int6432_t, ndim=1] left, Py_ssize_t n) -> bool:

@cython.wraparound(False)
@cython.boundscheck(False)
def is_sequence_range(ndarray[int6432_t, ndim=1] sequence, int64_t step) -> bool:
def is_sequence_range(ndarray[int64_t, ndim=1] sequence, int64_t step) -> bool:
"""
Check if sequence is equivalent to a range with the specified step.
"""
Expand Down

0 comments on commit b8ea98c

Please sign in to comment.