{"action":"opened","issue":{"url":"https://api.github.com/repos/numba/numba/issues/1368","labels_url":"https://api.github.com/repos/numba/numba/issues/1368/labels{/name}","comments_url":"https://api.github.com/repos/numba/numba/issues/1368/comments","events_url":"https://api.github.com/repos/numba/numba/issues/1368/events","html_url":"https://github.com/numba/numba/issues/1368","id":101863599,"number":1368,"title":"ValueError when I use \"@jit\" ","user":{"login":"XuJiahao","id":10742655,"avatar_url":"https://avatars.githubusercontent.com/u/10742655?v=3","gravatar_id":"","url":"https://api.github.com/users/XuJiahao","html_url":"https://github.com/XuJiahao","followers_url":"https://api.github.com/users/XuJiahao/followers","following_url":"https://api.github.com/users/XuJiahao/following{/other_user}","gists_url":"https://api.github.com/users/XuJiahao/gists{/gist_id}","starred_url":"https://api.github.com/users/XuJiahao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XuJiahao/subscriptions","organizations_url":"https://api.github.com/users/XuJiahao/orgs","repos_url":"https://api.github.com/users/XuJiahao/repos","events_url":"https://api.github.com/users/XuJiahao/events{/privacy}","received_events_url":"https://api.github.com/users/XuJiahao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-19T11:00:56Z","updated_at":"2015-08-19T11:00:56Z","closed_at":null,"body":"I got a ValueError when I use numba. And now I don't know what should I do...\r\n\r\nJust run this code in a new IPython, I would get the error:\r\n```py\r\nfrom numba import jit\r\n@jit\r\ndef greyCenter(ima, (vu, hl), (vd, hr)):\r\n    hc = vc = np.ones((vd - vu, hr - hl))\r\n    hc = hc * np.arange(hl, hr)\r\n    vc = (vc.T * np.arange(vu, vd)).T\r\n\r\n    gm = ima[vu:vd, hl:hr].astype('int')\r\n\r\n    hc = hc * gm\r\n    vc = vc * gm\r\n\r\n    hcen = int(round(hc.sum() / gm.sum()))\r\n    vcen = int(round(vc.sum() / gm.sum()))\r\n\r\n    return (vcen, hcen)\r\n```\r\n\r\nI use anaconda in windows 10 and update all packages into newest.\r\n\r\nThanks for help!\r\n**I'm so sorry that I can't speak English well...**"}}