Closed thomasaarholt closed 3 years ago
Strange, I just ran the code you pasted with latest numba and with numba 0.49, but there is no error.
Can you give your platform, the numba version and paste the error message ?
Intriguing! I just tried with a fresh conda environment, and now it works fine!
I must have done something odd, but I'm not sure what - the code was definitely complaining the the out
parameters wasn't set.
Regardless, closing this - will reopen if it happens again!
Hiya!
First off - thanks for writing this! It's blazing fast - interpolating 17161 points on a regular 2d grid with equally many pixels takes 229ms with scipy and 4.29ms with
interpolation
! That's a 53x speedup!The issue below is just in case you are unaware - I have instead installed the current conda version and numba=0.49 and things are working fine.
With the latest master,
eval_linear
is raising a large error when called as in the readme example here on github. It hints at theout
argument not being present, but when included it includes an equally long error that is harder for me to take apart. I would have pasted the entire error here, but I accidentally wiped it after installing the older version. I suggest you just run the following (from Readme.md) and see: