From 29aefaae1a0a6ee3536fffe1c5897bfb79ef3204 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sun, 28 May 2017 20:47:45 +0200 Subject: Add comment --- src/pj_init.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 ); -- cgit v1.2.3