Skip to content
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

Adds support for **kwargs to MV2 operation classes #74

Merged
merged 1 commit into from Jan 10, 2017

Conversation

chaosphere2112
Copy link
Contributor

@chaosphere2112 chaosphere2112 commented Jan 10, 2017

This PR adds support for arbitrary kwargs to the MV2 operation classes, to allow for some of the misc. keywords that some ufuncs from numpy have. I also changed over sometrue() and alltrue() to use numpy.ma.any() and numpy.ma.all(), since the numpy.ma.sometrue and numpy.ma.alltrue() functions are old stubs sitting around that should be aliased to the any and all functions, but apparently aren't. I took a quick peek through the source, and they're doing the exact same thing, except that any and all take a couple of args that sometrue and alltrue don't.

@doutriaux1 doutriaux1 merged commit 3454710 into master Jan 10, 2017
@doutriaux1 doutriaux1 deleted the mv2_operation_kwargs branch Jan 10, 2017
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.

None yet

2 participants