aboutsummaryrefslogtreecommitdiff
path: root/src/projections/laea.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/projections/laea.cpp')
-rw-r--r--src/projections/laea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/projections/laea.cpp b/src/projections/laea.cpp
index e3c7248a..22fb1691 100644
--- a/src/projections/laea.cpp
+++ b/src/projections/laea.cpp
@@ -82,7 +82,7 @@ eqcon:
break;
case N_POLE:
case S_POLE:
- if (q >= 0.) {
+ if (q >= 1e-15) {
b = sqrt(q);
xy.x = b * sinlam;
xy.y = coslam * (Q->mode == S_POLE ? b : -b);