aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_nell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/PJ_nell.c')
-rw-r--r--src/PJ_nell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_nell.c b/src/PJ_nell.c
index ed275860..dd41b468 100644
--- a/src/PJ_nell.c
+++ b/src/PJ_nell.c
@@ -22,7 +22,7 @@ FORWARD(s_forward); /* spheroid */
}
INVERSE(s_inverse); /* spheroid */
lp.lam = 2. * xy.x / (1. + cos(xy.y));
- lp.phi = aasin(0.5 * (xy.y + sin(xy.y)));
+ lp.phi = aasin(P->ctx,0.5 * (xy.y + sin(xy.y)));
return (lp);
}
FREEUP; if (P) pj_dalloc(P); }