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
np.ptp is supported, but the .ptp method of array objects is not. Modifying your reproducer to define missing imports, define a, and use np.ptp instead results in a successful compilation:
visible in the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).
I cant pass numpy arrays like the following to an
njit
compiled function that containsnumpy.ptp()
.Why is that ( I think here it says, that .ptp() is supported: https://numba.pydata.org/numba-doc/dev/reference/numpysupported.html)
The text was updated successfully, but these errors were encountered: