aboutsummaryrefslogtreecommitdiff
path: root/src/projections/krovak.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/projections/krovak.cpp')
-rw-r--r--src/projections/krovak.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/projections/krovak.cpp b/src/projections/krovak.cpp
index 98f09199..aef44d42 100644
--- a/src/projections/krovak.cpp
+++ b/src/projections/krovak.cpp
@@ -198,7 +198,8 @@ PJ *PROJECTION(krovak) {
/* we want Bessel as fixed ellipsoid */
P->a = 6377397.155;
- P->e = sqrt(P->es = 0.006674372230614);
+ P->es = 0.006674372230614;
+ P->e = sqrt(P->es);
/* if latitude of projection center is not set, use 49d30'N */
if (!pj_param(P->ctx, P->params, "tlat_0").i)