diff options
Diffstat (limited to 'src/PJ_collg.c')
| -rw-r--r-- | src/PJ_collg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_collg.c b/src/PJ_collg.c index 80029a3a..939eb2d2 100644 --- a/src/PJ_collg.c +++ b/src/PJ_collg.c @@ -26,7 +26,7 @@ static LP s_inverse (XY xy, PJ *P) { /* Spheroidal, inverse */ if (fabs(lp.phi = 1. - lp.phi * lp.phi) < 1.) lp.phi = asin(lp.phi); else if (fabs(lp.phi) > ONEEPS) I_ERROR - else lp.phi = lp.phi < 0. ? -HALFPI : HALFPI; + else lp.phi = lp.phi < 0. ? -M_HALFPI : M_HALFPI; if ((lp.lam = 1. - sin(lp.phi)) <= 0.) lp.lam = 0.; else |
