Skip to content

Conversation

@CoriPegliasco
Copy link
Collaborator

  • add test for mask in contains
  • minor english

- add test for mask in contains
- minor english
i = -ones(x.shape, dtype="i4")
if x.size != 0:

if x.size != 0 and True in m:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use m.any() instead of True in m

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@AntSimi AntSimi merged commit f14b2d1 into AntSimi:master May 26, 2021
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