georust / geographiclib-rs

A port of geographiclib in Rust.
MIT License
41 stars 9 forks source link

fix test_std_geodesic_geodsolve29 failure #25

Closed stonylohr closed 3 years ago

stonylohr commented 3 years ago

This standard Karney unit test currently fails. Fix geodesic to make it work.

Tests longitude unrolling with inverse calculation. It also happens to use a large-ish flattening (0.1), though the test description doesn't highlight that.

stonylohr commented 3 years ago

I have a fix ready for this as well. I'll submit the PR once pull 37 (for #36) is resolved.

The issue is right there in my trailing remark -- this test is supposed to use WGS84, and instead I used the high-flattening geodesic from geodesic28 due to a copy-paste error.

I'll move on to #20 (test_arcdirect) next.