From 02654ec8620ad7cbea61b76d48cd66d245c16e37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Fri, 5 May 2017 09:09:32 +0200 Subject: [PATCH] Removed obsolete check --- src/albersequal.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/albersequal.cpp b/src/albersequal.cpp index 4aefc4a5..d471b4ff 100644 --- a/src/albersequal.cpp +++ b/src/albersequal.cpp @@ -37,9 +37,6 @@ AlbersEqual::AlbersEqual(const Ellipsoid &ellipsoid, double standardParallel1, sp1 = deg2rad(standardParallel1); sp2 = deg2rad(standardParallel2); - if (_latitudeOrigin > M_PI) - _latitudeOrigin -= M_PI * 2.0; - _es2 = 2 * _e.flattening() - _e.flattening() * _e.flattening(); _es = sqrt(_es2); _one_minus_es2 = 1 - _es2;