remove errors that seem to have been introduced in recent days
[potlatch2.git] / net / systemeD / potlatch2 / tools / Circularise.as
index d0e51b6734a8b71225d28f3ce93138c751afb007..6a0cf9f479e72f2dcbb000f14b7f036267dccab5 100644 (file)
@@ -152,7 +152,6 @@ package net.systemeD.potlatch2.tools {
                        // Average distance to centre
                        // (first + last are the same node, don't use twice)
                        for (var i:uint = 0; i < way.length - 1; i++) {
-                             Math.pow(way.getNode(i).latp-cy,2)));
                                d+=Math.sqrt(Math.pow(way.getNode(i).lon -cx,2)+
                                                         Math.pow(way.getNode(i).latp-cy,2));
                        }