You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code does not work in our latest docker image 2022.02.04 with
numpy 1.22.2
numba 0.53.1
fromnumbaimportvectorize, float64@vectorize([float64(float64)])defadd_one(a):
returna+1add_one(1.)
# UFuncTypeError: ufunc 'add_one' did not contain a loop with signature matching types <class 'numpy.dtype[float64]'> -> None
I can fix it by installing the a newer version of numba, which requires an older version of numpy
The following code does not work in
our latest docker image2022.02.04 withI can fix it by installing the a newer version of numba, which requires an older version of numpy
This seems like numpy/numpy#20735
xref https://discourse.pangeo.io/t/xarray-aply-ufunc-is-giving-new-error/2309
The text was updated successfully, but these errors were encountered: