Closed zblz closed 4 years ago
The new __array_function__ hooks for numpy functions in astropy quantities made np.array_equal throw exceptions in cases where before it would have returned false. This PR catches those exceptions and treats them as the quantities not being equal.
__array_function__
np.array_equal
The new
__array_function__
hooks for numpy functions in astropy quantities madenp.array_equal
throw exceptions in cases where before it would have returned false. This PR catches those exceptions and treats them as the quantities not being equal.