Skip to content

Commit

Permalink
Merge georust#38
Browse files Browse the repository at this point in the history
38: fix georust#25: geodsolve29. r=michaelkirk a=stonylohr

Test was using wrong ellipsoid, due to copy-paste error.

- [ ] I agree to follow the project's [code of conduct](https://github.com/georust/geo/blob/master/CODE_OF_CONDUCT.md).
- [ ] I added an entry to `CHANGES.md` if knowledge of this change could be valuable to users.
---



Co-authored-by: Stony <stony.lohr@gmail.com>
  • Loading branch information
bors[bot] and stonylohr committed Jan 30, 2021
2 parents 27a184d + b3daf4d commit d4162ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/geodesic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2289,10 +2289,9 @@ mod tests {
}

#[test]
#[ignore] // Fails existing behavior.
fn test_std_geodesic_geodsolve29() {
// Check longitude unrolling with inverse calculation 2015-09-16
let geod = Geodesic::new(6.4e6, 0.1);
let geod = Geodesic::wgs84();
let (_a12, s12, _salp1, _calp1, _salp2, _calp2, _m12, _M12, _M21, _S12) =
geod._gen_inverse(0.0, 539.0, 0.0, 181.0, caps::STANDARD);
// Note: This is also supposed to check adjusted longitudes, but geographiclib-rs
Expand Down

0 comments on commit d4162ad

Please sign in to comment.