Updated documentation

This commit is contained in:
Christian Muehlhaeuser
2018-05-27 15:54:41 +02:00
parent 6c6534bdb2
commit 1b576b719c
2 changed files with 15 additions and 3 deletions

View File

@@ -26,6 +26,7 @@ func (c Clusters) recenter() {
}
}
// reset clears all point assignments
func (c Clusters) reset() {
for i := 0; i < len(c); i++ {
c[i].Points = Points{}