Closed ol-freelance closed 8 months ago
Reading this, it may be. Do you have a reproducible issue that we might add it a unit test case?
It doesn't change the result, only performance, so I don't see how you could test-case it (performance tests are not unit tests)
It's more a question of intent: in that branch you first test for has_numpy
and then you go and use the non-numpy kernel. So something is not right there: either numba for some reason can't take a numpy kernel and then there is no point testing for numpy and conversely if it can when why not use the numpy kernel?
Fixed in 2.8.1
In
haversine
2.8.0 at lines 173-174 you have:Shouldn't the second line read instead