aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_robin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/PJ_robin.c')
-rw-r--r--src/PJ_robin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_robin.c b/src/PJ_robin.c
index 5fabd9d0..22378305 100644
--- a/src/PJ_robin.c
+++ b/src/PJ_robin.c
@@ -100,7 +100,7 @@ static LP s_inverse (XY xy, PJ *P) { /* Spheroidal, inverse */
if (lp.phi >= 1.) { /* simple pathologic cases */
if (lp.phi > ONEEPS) I_ERROR
else {
- lp.phi = xy.y < 0. ? -HALFPI : HALFPI;
+ lp.phi = xy.y < 0. ? -M_HALFPI : M_HALFPI;
lp.lam /= X[NODES].c0;
}
} else { /* general problem */