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

Typo in 02.06-Boolean-Arrays-and-Masks #63

Closed
funwalla opened this issue Feb 25, 2017 · 1 comment
Closed

Typo in 02.06-Boolean-Arrays-and-Masks #63

funwalla opened this issue Feb 25, 2017 · 1 comment

Comments

@funwalla
Copy link

The Boolean Operators section of 02.06-Boolean-Arrays-and-Masks.ipynb includes the phrase:
"the equivalence of A AND B and NOT (A OR B)".

I believe that should be: "the equivalence of A AND B and NOT (NOT A OR NOT B)". That is what is shown in the code fragment below the markdown: np.sum(~( (inches <= 0.5) | (inches >= 1) )).

@jakevdp
Copy link
Owner

jakevdp commented Feb 26, 2017

Thanks! Fixed in b498e1c

@jakevdp jakevdp closed this as completed Feb 26, 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

No branches or pull requests

2 participants