Open luciotorre opened 5 years ago
Thanks for the report. I think the problem here is that the keyword arg is rejected, and this should have been caught before trying to lower the function. The function itself has support in the implementation to handle the array supplied in out
, it just cannot be declared as such, for example:
import numpy as np
import numba
ls = np.linspace(0, 10, 10)
@numba.jit(nopython=True, fastmath=True)
def test():
z = np.zeros_like(ls)
np.add(ls, 1024, z)
return z
print(test())
When running the following code:
I get an error:
unsupported keyword arguments when calling Function(<ufunc 'add'>)
Which may it is just a missing feature, but the error also says:
So i complied :)