aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_deformation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/PJ_deformation.c')
-rw-r--r--src/PJ_deformation.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/PJ_deformation.c b/src/PJ_deformation.c
index 81dd602d..09692ccb 100644
--- a/src/PJ_deformation.c
+++ b/src/PJ_deformation.c
@@ -232,9 +232,8 @@ PJ *TRANSFORMATION(deformation,1) {
if (Q->cart == 0)
return destructor(P, ENOMEM);
- /* inherit ellipsoid definition from P to Q->cart (simpler than guessing */
- /* how the ellipsoid was specified in original definition) */
- pj_inherit_ellipsoid_defs(P, Q->cart);
+ /* inherit ellipsoid definition from P to Q->cart */
+ pj_inherit_ellipsoid_def (P, Q->cart);
Q->has_xy_grids = pj_param(P->ctx, P->params, "txy_grids").i;
Q->has_z_grids = pj_param(P->ctx, P->params, "tz_grids").i;