diff options
| author | Jeff Whitaker <jswhit@fastmail.fm> | 2015-12-13 07:40:20 -0700 |
|---|---|---|
| committer | Jeff Whitaker <jswhit@fastmail.fm> | 2015-12-13 07:40:20 -0700 |
| commit | 3d2501d0ee7b4724677cb19c6968888c4da31c3c (patch) | |
| tree | 46b115d2b6610533c9fd44776e2453420c56ca9a /src | |
| parent | 92f89a90e94fb1a94ce5337dfa4a9256b305c7e0 (diff) | |
| download | PROJ-3d2501d0ee7b4724677cb19c6968888c4da31c3c.tar.gz PROJ-3d2501d0ee7b4724677cb19c6968888c4da31c3c.zip | |
changed spaces to tabs (to match rest of code)
Diffstat (limited to 'src')
| -rw-r--r-- | src/PJ_hammer.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/PJ_hammer.c b/src/PJ_hammer.c index fb5f3de3..f85d8fa8 100644 --- a/src/PJ_hammer.c +++ b/src/PJ_hammer.c @@ -15,16 +15,16 @@ FORWARD(s_forward); /* spheroid */ return (xy); } INVERSE(s_inverse); /* spheroid */ - double z; + double z; z = sqrt(1. - 0.25*P->w*P->w*xy.x*xy.x - 0.25*xy.y*xy.y); if (fabs(2.*z*z-1.) < EPS) { - lp.lam = HUGE_VAL; - lp.phi = HUGE_VAL; - pj_errno = -14; + lp.lam = HUGE_VAL; + lp.phi = HUGE_VAL; + pj_errno = -14; } else { - lp.lam = aatan2(P->w * xy.x * z,2. * z * z - 1)/P->w; - lp.phi = aasin(P->ctx,z * xy.y); - } + lp.lam = aatan2(P->w * xy.x * z,2. * z * z - 1)/P->w; + p.phi = aasin(P->ctx,z * xy.y); + } return (lp); } FREEUP; if (P) pj_dalloc(P); } |
