Closed Achllle closed 5 years ago
Can't use all, that just gives you a boolean which is always false when not all elements are 0. Replace with a numpy testing built in function and catch the error and fail when it happens.
Can't use all, that just gives you a boolean which is always false when not all elements are 0. Replace with a numpy testing built in function and catch the error and fail when it happens.