Skip to content

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

Merged
doutriaux1 merged 1 commit intomasterfrom
mv2_operation_kwargs
Jan 10, 2017
Merged

Adds support for **kwargs to MV2 operation classes#74
doutriaux1 merged 1 commit intomasterfrom
mv2_operation_kwargs

Conversation

@chaosphere2112
Copy link
Copy Markdown
Contributor

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 January 10, 2017 15:23
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.

2 participants