aboutsummaryrefslogtreecommitdiff
path: root/src/biveval.c
diff options
context:
space:
mode:
authorKurt Schwehr <schwehr@google.com>2018-05-04 09:01:27 -0700
committerKurt Schwehr <schwehr@google.com>2018-05-04 09:01:27 -0700
commit72016ab016efe153f475a38596586fecd5b996d2 (patch)
treef2d168a20dcd482448bdf73799f2e209c1e3b91a /src/biveval.c
parent2f467d57d1846857eb8ac7e855646c19d6b66737 (diff)
downloadPROJ-72016ab016efe153f475a38596586fecd5b996d2.tar.gz
PROJ-72016ab016efe153f475a38596586fecd5b996d2.zip
Convert errno literals to corresponding PJD symbol
Diffstat (limited to 'src/biveval.c')
-rw-r--r--src/biveval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/biveval.c b/src/biveval.c
index c76a34c7..05e83e21 100644
--- a/src/biveval.c
+++ b/src/biveval.c
@@ -37,7 +37,7 @@ bcheval(projUV in, Tseries *T) {
w.v = ( in.v + in.v - T->a.v ) * T->b.v;
if (fabs(w.u) > NEAR_ONE || fabs(w.v) > NEAR_ONE) {
out.u = out.v = HUGE_VAL;
- pj_errno = -36;
+ pj_errno = PJD_ERR_TCHEBY_VAL_OUT_OF_RANGE;
} else { /* double evaluation */
w2.u = w.u + w.u;
w2.v = w.v + w.v;