Skip to content

Conversation

@regislachaume
Copy link

Fix proposed for Issue #10.

"The code is comparing to None with the operators == and != instead of the correct (and more efficient) pythonic idiom is or is not. Thus, an if clause fails on a numpy array because == and != operate elementwise, while is and is not return a scalar bool"

@ortega2247
Copy link
Contributor

Hi! Thank you for your contribution. Could you please rebase your branch to the master to see if the tests pass now. Additionally, could you also add some test cases for the 2D arrays. Thanks!

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