Skip to content

Conversation

charris
Copy link
Member

@charris charris commented Jul 29, 2019

Backport of #14143 .

Due to implicit conversion to int. Since total_seconds returns a python float, its easiest to convert to a C float and do the int conversion there

Fixes gh-14077

…to int

Since `total_seconds` returns a python `float`, its easiest to convert to a C float and do the int conversion there

Fixes numpygh-14077
@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs component: numpy.datetime64 (and timedelta64) labels Jul 29, 2019
@charris charris added this to the 1.17.1 release milestone Jul 29, 2019
@charris charris merged commit 894482f into numpy:maintenance/1.17.x Jul 29, 2019
@charris charris deleted the backport-14143 branch July 29, 2019 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
00 - Bug 08 - Backport Used to tag backport PRs component: numpy.datetime64 (and timedelta64)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants