diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2019-03-15 06:45:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-15 06:45:32 +0100 |
| commit | ea2d6723856036060b067d7b43fbec23003da64c (patch) | |
| tree | 6136c8c5011b599c429dc6587326ef9d724c7df9 /src/init.cpp | |
| parent | c288debe029667515656213b0ba81956c3ede26d (diff) | |
| parent | fde6150b61aa225bb960d46f1611c82bf81315b3 (diff) | |
| download | PROJ-ea2d6723856036060b067d7b43fbec23003da64c.tar.gz PROJ-ea2d6723856036060b067d7b43fbec23003da64c.zip | |
Merge pull request #1318 from rouault/reject_ecc_larger_than_one
Reject eccentricity values larger than one
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 2961bcca..13ea4ae8 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -680,7 +680,7 @@ pj_init_ctx_with_allow_init_epsg(projCtx ctx, int argc, char **argv, int allow_i PIN->a_orig = PIN->a; PIN->es_orig = PIN->es; if (pj_calc_ellipsoid_params (PIN, PIN->a, PIN->es)) - return pj_default_destructor (PIN, PJD_ERR_ECCENTRICITY_IS_ONE); + return pj_default_destructor (PIN, PJD_ERR_ECCENTRICITY_IS_ONE_OR_GREATER); /* Now that we have ellipse information check for WGS84 datum */ if( PIN->datum_type == PJD_3PARAM |
