Skip to content

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

Merged
charris merged 2 commits into
numpy:maintenance/1.11.xfrom
charris:backport-7635
May 22, 2016
Merged

charris merged 2 commits into
numpy:maintenance/1.11.xfrom
charris:backport-7635

Conversation

@charris

@charris charris commented May 22, 2016

Copy link
Copy Markdown
Member

#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