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

Using truth value of an array with more than one element in t_is #48

Open
rwl opened this issue Dec 3, 2017 · 0 comments
Open

Using truth value of an array with more than one element in t_is #48

rwl opened this issue Dec 3, 2017 · 0 comments

Comments

@rwl
Copy link
Owner

rwl commented Dec 3, 2017

idx = nonzero(not abs(got_minus_expected) < 10**(-prec))

Result in the error:

The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
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

1 participant