aboutsummaryrefslogtreecommitdiff
path: root/src/gen_cheb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen_cheb.c')
-rw-r--r--src/gen_cheb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen_cheb.c b/src/gen_cheb.c
index f1736872..b7c41d82 100644
--- a/src/gen_cheb.c
+++ b/src/gen_cheb.c
@@ -48,7 +48,7 @@ gen_cheb(int inverse, projUV (*proj)(projUV), char *s, PJ *P, int iargc, char **
if (low.u == upp.u || low.v >= upp.v)
emess(16,"approx. argument range error");
if (low.u > upp.u)
- low.u -= TWOPI;
+ low.u -= M_TWOPI;
if (NU < 2 || NV < 2)
emess(16,"approx. work dimensions (%d %d) too small",NU,NV);
if (!(F = mk_cheby(low, upp, pow(10., (double)res)*.5, &resid, proj,