Here is the code:
@jit(nopython=True, debug=True)
def Sum(unique, values):
D0 = {}
for i in range(len(unique)):
D0[unique[i]] = 0
ls = np.array([0, 1, 2], dtype=np.int64)
Sum(ls, ls)
Could you please tell me what I am doing wrong?
Thank you,
Andrew
ERRORS:
Exception has occurred: AssertionError
<code object Sum at 0x000001CAE92CA830, file “…ExploreGrid.py”, line 104> != <code object Sum at 0x000001CAE9391DF0, file “…ExploreGrid.py”, line 11>
KeyError: (11, ‘…ExploreGrid.py’, <code object Sum at 0x000001CAE9391DF0, file “…ExploreGrid.py”, line 11>)