aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrank Warmerdam <warmerdam@pobox.com>2009-05-18 23:36:30 +0000
committerFrank Warmerdam <warmerdam@pobox.com>2009-05-18 23:36:30 +0000
commit3a60273d399ae05c479c4b0c45d5c718c70bb135 (patch)
treeca647748b21d08a87659d6afbb1b799808bca187 /src
parentb104cfc03060c27b08e45460d60082190349bafc (diff)
downloadPROJ-3a60273d399ae05c479c4b0c45d5c718c70bb135.tar.gz
PROJ-3a60273d399ae05c479c4b0c45d5c718c70bb135.zip
PJ_sts: Remove duplicate division o lp.phi by P->C_p (#40).
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1578 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src')
-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 40c895a2..f1557feb 100644
--- a/src/PJ_sts.c
+++ b/src/PJ_sts.c
@@ -29,7 +29,7 @@ INVERSE(s_inverse); /* spheroid */
xy.y /= P->C_y;
c = cos(lp.phi = P->tan_mode ? atan(xy.y) : aasin(xy.y));
lp.phi /= P->C_p;
- lp.lam = xy.x / (P->C_x * cos(lp.phi /= P->C_p));
+ lp.lam = xy.x / (P->C_x * cos(lp.phi));
if (P->tan_mode)
lp.lam /= c * c;
else