diff options
author | Doug Junkins <junkins@foghead.com> | 2019-04-30 06:53:31 -0700 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2019-04-30 23:32:50 +0200 |
commit | 14a763a6a0148a42fad06717bd2532181a54c626 (patch) | |
tree | d8b71f0c9a2d33d40d60aeccb44e12111abcb2e0 /core/connectionlistmodel.cpp | |
parent | 154792ffd1c217e5c1c9774b5593a753ae553601 (diff) | |
download | subsurface-14a763a6a0148a42fad06717bd2532181a54c626.tar.gz |
Bugfix for algorithm in get_distance()
Fixed bug in the Haversine function in get_distance() based on algorithm
at https://www.movable-type.co.uk/scripts/latlong.html and added bounds
to the 'a' term to avoid floating point errors for antipodal points.
Signed-off-by: Doug Junkins <junkins@foghead.com>
Diffstat (limited to 'core/connectionlistmodel.cpp')
0 files changed, 0 insertions, 0 deletions