aboutsummaryrefslogtreecommitdiff
path: root/src/pipeline.cpp
diff options
context:
space:
mode:
authorCharles Karney <charles@karney.com>2019-09-22 17:42:48 -0400
committerGitHub <noreply@github.com>2019-09-22 17:42:48 -0400
commitfcfde94401c8841527e5dbd43928f70fc40a5225 (patch)
tree131a746927cdff29cb6a445c425e9701c616adb3 /src/pipeline.cpp
parentd1bf22381344f4377d54386b6adb80c6d772967b (diff)
parenta2efc211eb5fa79ce3c6e666e83c3e65afd22e46 (diff)
downloadPROJ-fcfde94401c8841527e5dbd43928f70fc40a5225.tar.gz
PROJ-fcfde94401c8841527e5dbd43928f70fc40a5225.zip
Merge pull request #1629 from cffk/geod-1.50
Update to version 1.50 of the geodesic library.
Diffstat (limited to 'src/pipeline.cpp')
-rw-r--r--src/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pipeline.cpp b/src/pipeline.cpp
index afa3b19a..a82fce31 100644
--- a/src/pipeline.cpp
+++ b/src/pipeline.cpp
@@ -330,7 +330,7 @@ static void set_ellipsoid(PJ *P) {
pj_calc_ellipsoid_params (P, P->a, P->es);
- geod_init(P->geod, P->a, (1 - sqrt (1 - P->es)));
+ geod_init(P->geod, P->a, P->es / (1 + sqrt(P->one_es)));
/* Re-attach the dangling list */
/* Note: cur will always be non 0 given argv_sentinel presence, */