aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_cea.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/PJ_cea.c')
-rw-r--r--src/PJ_cea.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_cea.c b/src/PJ_cea.c
index e1bcb0af..90425436 100644
--- a/src/PJ_cea.c
+++ b/src/PJ_cea.c
@@ -40,7 +40,7 @@ static LP s_inverse (XY xy, PJ *P) { /* Spheroidal, inverse */
if ((t = fabs(xy.y *= P->k0)) - EPS <= 1.) {
if (t >= 1.)
- lp.phi = xy.y < 0. ? -HALFPI : HALFPI;
+ lp.phi = xy.y < 0. ? -M_HALFPI : M_HALFPI;
else
lp.phi = asin(xy.y);
lp.lam = xy.x / P->k0;