aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_putp2.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_putp2.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_putp2.c')
-rw-r--r--src/PJ_putp2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PJ_putp2.c b/src/PJ_putp2.c
index e846f13b..33bc67ae 100644
--- a/src/PJ_putp2.c
+++ b/src/PJ_putp2.c
@@ -31,9 +31,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 * ((c = cos(lp.phi)) - 0.5));
- lp.phi = aasin((lp.phi + sin(lp.phi) * (c - 1.)) / C_p);
+ lp.phi = aasin(P->ctx,(lp.phi + sin(lp.phi) * (c - 1.)) / C_p);
return (lp);
}
FREEUP; if (P) pj_dalloc(P); }