projects: update some short descriptions
[nit.git] / lib / geometry / polygon.nit
index 8fc1969..7d274a5 100644 (file)
@@ -302,7 +302,7 @@ private abstract class PolygonSorter
 
        # init calculating the center
        init with_center(pts : Array[Array[Float]]) do
-               center = calc_center(pts)
+               init(calc_center(pts))
        end
 
        # Calculate the center