-
Notifications
You must be signed in to change notification settings - Fork 32
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
fix compare bug #22
fix compare bug #22
Conversation
Maybe it would be better to avoid type coercion entirely? |
i'm struggling to understand these test failures. These tests worked before and after the last change was proposed and merged i can change the test results, but I'm not followiing why that should be required |
@bjlittle please may you have a quick look and see if any clues about test changes jump out? |
@marqh To me it seems the matplotlib version actually did change. The Travis logs in this pull request show that matplotlib 2.0.0 was used, while the Travis logs of the last successful run, pull request #19 use matplotlib 1.5.1. Btw Travis did fail in the previous pull request #21, but it shows as succeeded in the pull request itself. |
that would explain the test changes thank you |
this is a subtle bug
for certain configurations of python and numpy
returns
False
, whilstreturns
array([ True, True,], dtype=bool)
therefore
returns
False
, whilstreturns
True
as type coercion, where it occurs, tends to happen left to right, this order is safer