diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/PJ_sts.c | 2 |
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 |
