diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2017-05-28 20:47:45 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2017-05-28 20:47:45 +0200 |
| commit | 29aefaae1a0a6ee3536fffe1c5897bfb79ef3204 (patch) | |
| tree | 8d93c4785079cdcffb8a82fd16e65f9fa26720d9 | |
| parent | 5f03cc76126835b81ced3d9eaa65edc0fc5d2749 (diff) | |
| download | PROJ-29aefaae1a0a6ee3536fffe1c5897bfb79ef3204.tar.gz PROJ-29aefaae1a0a6ee3536fffe1c5897bfb79ef3204.zip | |
Add comment
| -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 ); |
