The help for zero_crossings() says that if no zero crossings are found, an empty result will be returned. But actually, an error is thrown.