aboutsummaryrefslogtreecommitdiff
path: root/src/geod.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/geod.c')
-rw-r--r--src/geod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/geod.c b/src/geod.c
index c429c513..12513cb0 100644
--- a/src/geod.c
+++ b/src/geod.c
@@ -87,8 +87,8 @@ process(FILE *fid) {
}
if (!*s && (s > line)) --s; /* assumed we gobbled \n */
if (pos_azi) {
- if (al12 < 0.) al12 += TWOPI;
- if (al21 < 0.) al21 += TWOPI;
+ if (al12 < 0.) al12 += M_TWOPI;
+ if (al21 < 0.) al21 += M_TWOPI;
}
if (fullout) {
printLL(phi1, lam1); TAB;