nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
android/audio: fix infinite recursion
[nit.git]
/
lib
/
geometry
/
polygon.nit
diff --git
a/lib/geometry/polygon.nit
b/lib/geometry/polygon.nit
index
8fc1969
..
7d274a5
100644
(file)
--- a/
lib/geometry/polygon.nit
+++ b/
lib/geometry/polygon.nit
@@
-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