fixed corner case

This commit is contained in:
abelvm
2017-03-28 14:13:49 +02:00
parent 00327e6de2
commit 7f5edb26b0

View File

@@ -46,7 +46,7 @@ BEGIN
SELECT array_agg(c) INTO cells FROM c1;
-- 1st guess: centroid
-- best_c := polygon;
best_c := polygon;
best_d := cdb_crankshaft._Signed_Dist(polygon, ST_Centroid(Polygon));
-- looping the loop