aboutsummaryrefslogtreecommitdiff
path: root/src/projections/eqearth.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-02-26 21:17:33 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-02-26 22:51:12 +0100
commit53e93c2da6be64abf3c343942618384f4b8de7da (patch)
tree360bc573d8ec5af701eae8cc1f65cd76fe95ad7a /src/projections/eqearth.cpp
parent79b8794d69b232e1ea9dd88627506f58af8f510b (diff)
downloadPROJ-6.0.0.tar.gz
PROJ-6.0.0.zip
Fix build issues on Solaris6.0.0
Diffstat (limited to 'src/projections/eqearth.cpp')
-rw-r--r--src/projections/eqearth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/projections/eqearth.cpp b/src/projections/eqearth.cpp
index dc58eed9..73499262 100644
--- a/src/projections/eqearth.cpp
+++ b/src/projections/eqearth.cpp
@@ -26,7 +26,7 @@ PROJ_HEAD(eqearth, "Equal Earth") "\n\tPCyl, Sph&Ell";
#define A2 -0.081106
#define A3 0.000893
#define A4 0.003796
-#define M (sqrt(3) / 2.0)
+#define M (sqrt(3.0) / 2.0)
#define MAX_Y 1.3173627591574 /* 90° latitude on a sphere with radius 1 */
#define EPS 1e-11