aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_sts.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_sts.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_sts.c')
-rw-r--r--src/PJ_sts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_sts.c b/src/PJ_sts.c
index f1557feb..c35d5cfc 100644
--- a/src/PJ_sts.c
+++ b/src/PJ_sts.c
@@ -27,7 +27,7 @@ INVERSE(s_inverse); /* spheroid */
double c;
xy.y /= P->C_y;
- c = cos(lp.phi = P->tan_mode ? atan(xy.y) : aasin(xy.y));
+ c = cos(lp.phi = P->tan_mode ? atan(xy.y) : aasin(P->ctx,xy.y));
lp.phi /= P->C_p;
lp.lam = xy.x / (P->C_x * cos(lp.phi));
if (P->tan_mode)