Skip to content

Commit

Permalink
Merge pull request #21894 from hoodmane/datetime_to_timedelta-fpcast
Browse files Browse the repository at this point in the history
BUG: Fix datetime_to_timedelta_resolve_descriptors signature
  • Loading branch information
seberg committed Jul 1, 2022
2 parents b0b523e + 697235d commit 860a12e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion numpy/core/src/multiarray/datetime.c
Original file line number Diff line number Diff line change
Expand Up @@ -3904,7 +3904,8 @@ datetime_to_timedelta_resolve_descriptors(
PyArrayMethodObject *NPY_UNUSED(self),
PyArray_DTypeMeta *dtypes[2],
PyArray_Descr *given_descrs[2],
PyArray_Descr *loop_descrs[2])
PyArray_Descr *loop_descrs[2],
npy_intp *NPY_UNUSED(view_offset))
{
loop_descrs[0] = NPY_DT_CALL_ensure_canonical(given_descrs[0]);
if (loop_descrs[0] == NULL) {
Expand Down

0 comments on commit 860a12e

Please sign in to comment.