Skip to content

Commit 6532671

Browse files
committed
ENH: proper types, speed up tz_localize
1 parent 63a21c5 commit 6532671

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/src/datetime.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ def tz_localize(ndarray[int64_t] vals, object tz):
856856
cdef:
857857
ndarray[int64_t] trans, deltas
858858
Py_ssize_t i, pos, n = len(vals)
859-
int64_t v, t1, t2, tmp
859+
int64_t v, dst_start, dst_end
860860

861861
if not have_pytz:
862862
raise Exception("Could not find pytz module")

0 commit comments

Comments
 (0)