diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-02-26 21:17:33 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-02-26 22:51:12 +0100 |
| commit | 53e93c2da6be64abf3c343942618384f4b8de7da (patch) | |
| tree | 360bc573d8ec5af701eae8cc1f65cd76fe95ad7a /src/projections/igh.cpp | |
| parent | 79b8794d69b232e1ea9dd88627506f58af8f510b (diff) | |
| download | PROJ-6.0.0.tar.gz PROJ-6.0.0.zip | |
Fix build issues on Solaris6.0.0
Diffstat (limited to 'src/projections/igh.cpp')
| -rw-r--r-- | src/projections/igh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/projections/igh.cpp b/src/projections/igh.cpp index a8efbb9d..d6b2d38d 100644 --- a/src/projections/igh.cpp +++ b/src/projections/igh.cpp @@ -77,7 +77,7 @@ static PJ_XY s_forward (PJ_LP lp, PJ *P) { /* Spheroidal, forward */ static PJ_LP s_inverse (PJ_XY xy, PJ *P) { /* Spheroidal, inverse */ PJ_LP lp = {0.0,0.0}; struct pj_opaque *Q = static_cast<struct pj_opaque*>(P->opaque); - const double y90 = Q->dy0 + sqrt(2); /* lt=90 corresponds to y=y0+sqrt(2) */ + const double y90 = Q->dy0 + sqrt(2.0); /* lt=90 corresponds to y=y0+sqrt(2) */ int z = 0; if (xy.y > y90+EPSLN || xy.y < -y90+EPSLN) /* 0 */ |
