From: Paul Ramsey Date: Tue, 3 Jan 2012 23:42:03 +0000 (+0000) Subject: Make numerical stability fix actually be present X-Git-Tag: 2.0.0alpha1~209 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ce64dcce5244d5ad29cd589e9db2f84c51dafb4;p=postgis Make numerical stability fix actually be present git-svn-id: http://svn.osgeo.org/postgis/trunk@8666 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/lwspheroid.c b/liblwgeom/lwspheroid.c index 5f1155509..32c0ac047 100644 --- a/liblwgeom/lwspheroid.c +++ b/liblwgeom/lwspheroid.c @@ -183,7 +183,6 @@ double spheroid_direction(const GEOGRAPHIC_POINT *r, const GEOGRAPHIC_POINT *s, else alpha = asin(sin_alpha); - alpha = asin(sin_alpha); cos_alphasq = POW2(cos(alpha)); cos2_sigma_m = cos(sigma) - (2.0 * sin_u1 * sin_u2 / cos_alphasq);