-
Notifications
You must be signed in to change notification settings - Fork 476
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
Comparing Quantity to list yields unhandled IndexError: list index out of range #783
Comments
I believe this is fixed by adding
on line 73 in quantity.py |
alexbhandari
added a commit
to alexbhandari/pint
that referenced
this issue
Mar 26, 2019
I have similar problems here. I use extensively empty lists:
and now throws:
|
I have just merge a PR. Let me know if this works |
Works for me. Thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To replicate run
results in
This is the case for comparing any Quantity with a list. Seems to be caused by the other[0] access in the check_implemented method used by Quantity.
The text was updated successfully, but these errors were encountered: