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 21:17:33 +0100 |
| commit | c9b27a248d3ed9964b6ac0847a83eba383b62537 (patch) | |
| tree | 360bc573d8ec5af701eae8cc1f65cd76fe95ad7a /src/projections/igh.cpp | |
| parent | d4d75dc81cd291410371bd7c186eaf7db046261b (diff) | |
| download | PROJ-c9b27a248d3ed9964b6ac0847a83eba383b62537.tar.gz PROJ-c9b27a248d3ed9964b6ac0847a83eba383b62537.zip | |
Fix build issues on Solaris
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 */ |
