I have a function in which I do some operations and want to speed it up with numba. In my code changing the values in an array with advanced indexing is not