Make db implementation consistent with liblwgeom

git-svn-id: http://svn.osgeo.org/postgis/trunk@4600 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Paul Ramsey 2009-10-06 04:59:18 +00:00
parent 0ae032c13c
commit 3bee62fcd9
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@
#include "cu_geodetic.h"
#define RANDOM_TEST 0
#define RANDOM_TEST 1000
/*
** Called from test harness to register the tests in this file.

View file

@ -67,7 +67,7 @@ Datum geography_distance_sphere(PG_FUNCTION_ARGS)
tolerance = tolerance / WGS84_RADIUS;
/* Calculate the distance */
distance = lwgeom_distance_sphere(lwgeom1, lwgeom2, &gbox1, &gbox2, tolerance);
distance = lwgeom_distance_sphere(lwgeom1, lwgeom2, gbox1, gbox2, tolerance);
/* Something went wrong... should already be eloged */
if( distance < 0.0 )