From 3a60273d399ae05c479c4b0c45d5c718c70bb135 Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Mon, 18 May 2009 23:36:30 +0000 Subject: 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 --- src/PJ_sts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3