Comments (3)
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?
from haversine.
Reading this, it may be. Do you have a reproducible issue that we might add it a unit test case?
from haversine.
Fixed in 2.8.1
from haversine.
Related Issues (20)
- Reverse haversine HOT 2
- Add haversine cdist HOT 7
- Add "rad" and "deg" to Units HOT 4
- Haversine will not import with Ubuntu 20.04 and Python 3.8.2 HOT 2
- Pycharm report error "Import Unit fails" HOT 5
- Cannot pip install version 1.0.x with latest (56.2.0+) version of setuptools HOT 1
- No longer py2 compatible HOT 1
- Compute bearing / cardinal informations between two points HOT 10
- What does Unit.DEGREE option return in haversine function? HOT 4
- Unable to install with pyton 3.10 HOT 5
- haversine raises an exception above 180 degrees latitude HOT 13
- Examples on README.md are incorrect HOT 1
- `inverse_haversine` precision for cardinal directions HOT 14
- last release is breaking my CI HOT 8
- Officially support Python 3.10 on PyPI HOT 1
- haversine_vector is no longer fast HOT 3
- Request: accept shapely geometries as inputs HOT 7
- Typo in repository `About` HOT 1
- [tests] failures against 32bit arches HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haversine.