aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_pipeline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/PJ_pipeline.c')
-rw-r--r--src/PJ_pipeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_pipeline.c b/src/PJ_pipeline.c
index e1568423..19b8e18d 100644
--- a/src/PJ_pipeline.c
+++ b/src/PJ_pipeline.c
@@ -317,7 +317,7 @@ static void set_ellipsoid(PJ *P) {
/* Check if there's any ellipsoid specification in the global params. */
/* If not, use WGS84 as default */
- if (pj_ell_set(P->ctx, P->params, &P->a, &P->es)) {
+ if (0 != pj_ellipsoid (P)) {
P->a = 6378137.0;
P->es = .00669438002290341575;
}