aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_nell.c
diff options
context:
space:
mode:
authorFrank Warmerdam <warmerdam@pobox.com>2010-06-11 03:26:04 +0000
committerFrank Warmerdam <warmerdam@pobox.com>2010-06-11 03:26:04 +0000
commitcf5c8cd32ebf39f7ff24c426ac00e75a7ae34da8 (patch)
treec7e18dad05709f747a2aaccb21da844ae6b43f24 /src/PJ_nell.c
parent02b4b8db7f5d3ce59baca4a38b8059538ccf3217 (diff)
downloadPROJ-cf5c8cd32ebf39f7ff24c426ac00e75a7ae34da8.tar.gz
PROJ-cf5c8cd32ebf39f7ff24c426ac00e75a7ae34da8.zip
roll projCtx through various other low level functions
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1856 4e78687f-474d-0410-85f9-8d5e500ac6b2
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); }