Skip to content

Commit 69e4a66

Browse files
authored
Merge pull request #16 from Sitaras/forReadME
For read me
2 parents 0ae0036 + b9c078b commit 69e4a66

File tree

2 files changed

+104
-36
lines changed

2 files changed

+104
-36
lines changed

Clustering/clustering.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ void reverseAssignmentLSH(LSH lsh,Vector *vectors,Vector *clusters,Vector *oldCl
174174
}
175175
// finally delete each cluster in order to form a new one based to the new centroid
176176
htDelete(clustersHt[i],0);
177-
clustersHt[i] = htInitialize(numOfVecs/(4*numOfClusters));
177+
clustersHt[i] = htInitialize(numOfVecs/(4*numOfClusters));
178178
// save the new centroid
179179
clusters[i]=newCenter;
180180
}

0 commit comments

Comments
 (0)