Skip to content

BUG: Fix incorrect return type in reduce without initial value#20955

Merged
mattip merged 1 commit intonumpy:mainfrom
seberg:issue-20921
Jan 31, 2022
Merged

BUG: Fix incorrect return type in reduce without initial value#20955
mattip merged 1 commit intonumpy:mainfrom
seberg:issue-20921

Conversation

@seberg
Copy link
Copy Markdown
Member

@seberg seberg commented Jan 31, 2022

The return type should not be integer of course (why doesn't C warn
about this?).

Closes gh-20921


I think this should be backported as far back as we still may release bugfixes.

The return type should not be integer of course (why doesn't C warn
about this?).

Closes numpygh-20921
@seberg seberg added 00 - Bug 09 - Backport-Candidate PRs tagged should be backported labels Jan 31, 2022
@mattip mattip merged commit c65bc21 into numpy:main Jan 31, 2022
@mattip
Copy link
Copy Markdown
Member

mattip commented Jan 31, 2022

Thanks @seberg

@seberg seberg deleted the issue-20921 branch January 31, 2022 20:37
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: some ufuncs return NULL without setting an error when stride >= 2**31 elements and SIMD optimizations enabled

3 participants