diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/pj_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pj_init.c b/src/pj_init.c index 113cc9f4..b86950bc 100644 --- a/src/pj_init.c +++ b/src/pj_init.c @@ -563,6 +563,7 @@ pj_init_ctx(projCtx ctx, int argc, char **argv) { PIN->long_wrap_center = pj_param(ctx, start, "rlon_wrap").f; /* Don't accept excessive values otherwise we might perform badly */ /* when correcting longitudes around it */ + /* The test is written this way to error on long_wrap_center "=" NaN */ if( !(fabs(PIN->long_wrap_center) < 10 * M_TWOPI) ) { pj_ctx_set_errno( ctx, -14 ); |
