aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/PJ_lsat.c2
-rw-r--r--src/PJ_misrsom.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/PJ_lsat.c b/src/PJ_lsat.c
index 4b77f3d6..7e1567e1 100644
--- a/src/PJ_lsat.c
+++ b/src/PJ_lsat.c
@@ -61,8 +61,6 @@ static XY e_forward (LP lp, PJ *P) { /* Ellipsoidal, forward */
sav = lampp;
lamtp = lp.lam + Q->p22 * lampp;
cl = cos(lamtp);
- if (fabs(cl) < TOL)
- lamtp -= TOL;
if( cl < 0 )
fac = lampp + sin(lampp) * M_HALFPI;
else
diff --git a/src/PJ_misrsom.c b/src/PJ_misrsom.c
index c25ca597..b9b97117 100644
--- a/src/PJ_misrsom.c
+++ b/src/PJ_misrsom.c
@@ -78,8 +78,6 @@ static XY e_forward (LP lp, PJ *P) { /* Ellipsoidal, forward */
sav = lampp;
lamtp = lp.lam + Q->p22 * lampp;
cl = cos(lamtp);
- if (fabs(cl) < TOL)
- lamtp -= TOL;
if( cl < 0 )
fac = lampp + sin(lampp) * M_HALFPI;
else