Skip to content

Commit fbe54c8

Browse files
committed
typo (thanks Jonas Mucke for finding it)
1 parent 364496f commit fbe54c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/I2MC_funcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ def kmeans2(data):
743743
# In the very unusual event that the cluster had only
744744
# one member, pick any other non-singleton point.
745745
cFrom = np.argwhere(m>1)[0]
746-
lonely = np.argwhere(mlabel==cFrom)[0]
746+
lonely = np.argwhere(label==cFrom)[0]
747747
label[lonely] = i
748748

749749
# Update clusters from which points are taken

0 commit comments

Comments
 (0)