aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_eck4.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/PJ_eck4.c')
-rw-r--r--src/PJ_eck4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PJ_eck4.c b/src/PJ_eck4.c
index 2b5c8101..f90267dd 100644
--- a/src/PJ_eck4.c
+++ b/src/PJ_eck4.c
@@ -35,9 +35,9 @@ FORWARD(s_forward); /* spheroid */
INVERSE(s_inverse); /* spheroid */
double c;
- lp.phi = aasin(xy.y / C_y);
+ lp.phi = aasin(P->ctx,xy.y / C_y);
lp.lam = xy.x / (C_x * (1. + (c = cos(lp.phi))));
- lp.phi = aasin((lp.phi + sin(lp.phi) * (c + 2.)) / C_p);
+ lp.phi = aasin(P->ctx,(lp.phi + sin(lp.phi) * (c + 2.)) / C_p);
return (lp);
}
FREEUP; if (P) pj_dalloc(P); }