TypeError: can't unbox array from PyObject into native value

Hi folks,
I’m trying to use numba, decorated my function with @njit. But when I run it, I get an error:
TypeError: can’t unbox array from PyObject into native value. The object maybe of a different type

I have no idea what this means; does anyone have an idea how to debug this?
Thanks!

hi @kaiwenw , when asking about errors is better to post a reproducer of the error. In this case, you passed an object Numba does not recognize as input to a function. But it’s impossible to tell what the exact problem is without seeing the code.

Luk