Im trying to run a code like this,
from numba import njit
@njit
def fun(x):
one,*two = x
print(two)
fun([1,2,3])
But, when I tried to run , it give me the following error mesage:
UnsupportedError: Use of unsupported opcode (UNPACK_EX) found
I need that code structure because I´m using scipy.optimize.minimize that admits only 1 argument, and the lenght of x varies depending on the model