8000 BUG, TST: Fix tests of ma.count return type. by charris · Pull Request #4699 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

BUG, TST: Fix tests of ma.count return type. #4699

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 1 commit into from
May 14, 2014

Conversation

charris
Copy link
Member
@charris charris commented May 11, 2014

The masked array count method was fixed to use np.intp when doing sums.
The return type is always np.intp except for count(arr, axis=None) when
arr has no mask, in which case the return type is that of ndarray.size.

The test errors were noted in #4698.

The masked array count method was fixed to use np.intp when doing sums.
The return type is always np.intp except for count(arr, axis=None) when
arr has no mask, in which case the return type is that of ndarray.size.

The test errors were noted in numpy#4698.
@charris charris added this to the 1.9 blockers milestone May 11, 2014
charris added a commit that referenced this pull request May 14, 2014
BUG, TST: Fix tests of ma.count return type.
@charris charris merged commit afe32d7 into numpy:master May 14, 2014
@charris charris deleted the fix-ma.count-return-type-check branch May 14, 2014 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0