![](https://secure.gravatar.com/avatar/66cae1aee640be1862158f16efac3f37.jpg?s=120&d=mm&r=g)
The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
by Rick Muller Oct. 27, 2010
by Rick Muller Oct. 27, 2010
Oct. 27, 2010
3
3
2
2
8
10
1
0
2
1
3
2
3
2
2
2
![](https://secure.gravatar.com/avatar/a3e2723c84e99f4eb693af3cfcbc59b3.jpg?s=120&d=mm&r=g)
Oct. 26, 2010
2
3
3
3