Skip to content

Fix compilation warnings #27371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from Jul 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pandas/_libs/internals.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def get_blkno_indexers(int64_t[:] blknos, bint group=True):

object blkno
list group_order
dict group_slices
dict group_dict
int64_t[:] res_view

n = blknos.shape[0]
Expand Down
2 changes: 1 addition & 1 deletion pandas/_libs/tslibs/c_timestamp.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ cdef class _Timestamp(datetime):

def __add__(self, other):
cdef:
int64_t other_int, nanos
int64_t other_int, nanos = 0

if is_timedelta64_object(other):
other_int = other.astype('timedelta64[ns]').view('i8')
Expand Down
2 changes: 1 addition & 1 deletion pandas/_libs/window.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1682,7 +1682,7 @@ def roll_window(ndarray[float64_t, ndim=1, cast=True] values,
Assume len(weights) << len(values)
"""
cdef:
ndarray[float64_t] output, tot_wgt, counts
float64_t[:] output, tot_wgt, counts
Py_ssize_t in_i, win_i, win_n, in_n
float64_t val_in, val_win, c, w

Expand Down