
The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
by Rick Muller 27 Oct '10
by Rick Muller 27 Oct '10
27 Oct '10
3
3
2
2
8
10
1
0
2
1
3
2
3
2
2
2
2
3
3
3