8000 Backport 7635, BUG: ma.median of 1d array should return a scalar by charris · Pull Request #7654 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

Backport 7635, BUG: ma.median of 1d array should return a scalar #7654

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 2 commits into from
May 22, 2016

Conversation

charris
Copy link
Member
@charris charris commented May 22, 2016

#7635.

Performance fix #4760 had caused wrong shaped results in the 1D case.
This fix restores the original 1D behavior.

Fixes numpy#5969.
Performance fix numpy#4760 had caused wrong shaped results in the 1D case.
This fix restores the original 1D behavior.
Recommended type for nd-indexing is a tuple. See numpy#4434
@charris charris added 06 - Regression component: numpy.ma masked arrays 08 - Backport Used to tag backport PRs labels May 22, 2016
@charris charris added this to the 1.11.1 release milestone May 22, 2016
@charris charris merged commit a3f9135 into numpy:maintenance/1.11.x May 22, 2016
@charris charris deleted the backport-7635 branch October 3, 2016 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
06 - Regression 08 - Backport Used to tag backport PRs component: numpy.ma masked arrays
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0