Skip to content

Commit 1ef32e6

Browse files
committed
Cleaned up
1 parent 871d2db commit 1ef32e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kmeans.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func (c *kmeansClusterer) Online(observations chan []float64, done chan struct{}
172172
var (
173173
k int
174174
n float64
175-
m float64 = math.pow(c.distance(o, c.m[0]), 2)
175+
m float64 = math.Pow(c.distance(o, c.m[0]), 2)
176176
)
177177

178178
for i := 1; i < l; i++ {

0 commit comments

Comments
 (0)