diff options
| author | Thomas Knudsen <lastname DOT firstname AT gmail DOT com> | 2016-05-11 13:32:50 +0200 |
|---|---|---|
| committer | Thomas Knudsen <lastname DOT firstname AT gmail DOT com> | 2016-05-11 13:32:50 +0200 |
| commit | cb0f8f624f2ce61c7b801daf5ffe20c01b4d3783 (patch) | |
| tree | 6d0cee62e66bbd6d92795a7ed6b98e0ec1ecc609 /src/PJ_mod_ster.c | |
| parent | 8da93d5e308483ad279edda9e3783b8e0e2f3f50 (diff) | |
| download | PROJ-cb0f8f624f2ce61c7b801daf5ffe20c01b4d3783.tar.gz PROJ-cb0f8f624f2ce61c7b801daf5ffe20c01b4d3783.zip | |
Yet another round of minor corrections
A few args had gone missing in the test setups for lagrng, ob_tran,
omerc, mod_ster.
A mixed declarations and code case corrected in proj_rouss
A missing include added to test228.c
Diffstat (limited to 'src/PJ_mod_ster.c')
| -rw-r--r-- | src/PJ_mod_ster.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/PJ_mod_ster.c b/src/PJ_mod_ster.c index 7de7c01b..4c217141 100644 --- a/src/PJ_mod_ster.c +++ b/src/PJ_mod_ster.c @@ -8,7 +8,7 @@ PROJ_HEAD(gs48, "Mod. Stererographics of 48 U.S.") "\n\tAzi(mod)"; PROJ_HEAD(alsk, "Mod. Stererographics of Alaska") "\n\tAzi(mod)"; PROJ_HEAD(gs50, "Mod. Stererographics of 50 U.S.") "\n\tAzi(mod)"; -#define EPSLN 1e-10 +#define EPSLN 1e-12 struct pj_opaque { COMPLEX *zcoeff; \ @@ -424,8 +424,10 @@ int pj_alsk_selftest (void) {return 0;} #else int pj_alsk_selftest (void) { - double tolerance_lp = 1e-10; - double tolerance_xy = 1e-7; + + /* The standard test points are way outside the definition area bounds, hence we relax tolerances */ + double tolerance_lp = 1e-7; + double tolerance_xy = 1e-4; char e_args[] = {"+proj=alsk +ellps=GRS80 +lat_1=0.5 +lat_2=2"}; char s_args[] = {"+proj=alsk +a=6400000 +lat_1=0.5 +lat_2=2"}; |
