remove really bad hack. ok sthen@
This commit is contained in:
parent
6053487601
commit
e6f9819298
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2008/07/07 17:39:24 pvalchev Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2008/07/25 23:07:09 martynas Exp $
|
||||
|
||||
COMMENT= garmin gps map management tool
|
||||
|
||||
DISTNAME= QLandkarte_0.7.3
|
||||
PKGNAME= ${DISTNAME:L:S/_/-/}
|
||||
PKGNAME= ${DISTNAME:L:S/_/-/}p0
|
||||
CATEGORIES= geo
|
||||
|
||||
HOMEPAGE= http://qlandkarte.sourceforge.net/
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-src_IProjection_cpp,v 1.2 2008/03/27 00:36:46 pvalchev Exp $
|
||||
--- src/IProjection.cpp.orig Wed Feb 13 02:15:18 2008
|
||||
+++ src/IProjection.cpp Sun Mar 23 22:36:19 2008
|
||||
@@ -108,7 +108,7 @@ double IProjection::distance(const XY& p1, const XY& p
|
||||
lambda = L + (1-C) * f * sinAlpha * (sigma + C*sinSigma*(cos2SigmaM + C * cosSigma * (-1 + 2 * cos2SigmaM * cos2SigmaM)));
|
||||
}
|
||||
// formula failed to converge
|
||||
- if (iterLimit==0) return FP_NAN;
|
||||
+ //if (iterLimit==0) return FP_NAN;
|
||||
|
||||
double uSq = cosSqAlpha * (a*a - b*b) / (b*b);
|
||||
double A = 1 + uSq/16384*(4096+uSq*(-768+uSq*(320-175*uSq)));
|
Loading…
x
Reference in New Issue
Block a user