Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed May 28, 2017
1 parent 5f03cc7 commit 29aefaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pj_init.c
Expand Up @@ -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 );
Expand Down

0 comments on commit 29aefaa

Please sign in to comment.