File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed
Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -337,26 +337,26 @@ void ClusteringAlgorithms::greedyIncrementalLowMem( unsigned int *assignedcluste
337337
338338 buffer[i - start].first = i;
339339 }
340+ }
340341
341- // Sequential processing of the buffer
342- for (long j = 0 ; j < (end - start); j++) {
343- unsigned int clusterId = buffer[j].first ;
344- const std::vector<unsigned int >& keys = buffer[j].second ;
342+ // Sequential processing of the buffer
343+ for (long j = 0 ; j < (end - start); j++) {
344+ unsigned int clusterId = buffer[j].first ;
345+ const std::vector<unsigned int >& keys = buffer[j].second ;
345346
346- if (assignedcluster[clusterId] != UINT_MAX) {
347- continue ;
348- }
347+ if (assignedcluster[clusterId] != UINT_MAX) {
348+ continue ;
349+ }
349350
350- if (keys.size () <= 1 ) {
351- continue ;
352- }
351+ if (keys.size () <= 1 ) {
352+ continue ;
353+ }
353354
354- for (unsigned int key : keys) {
355- unsigned int currElement = seqDbr->getId (key);
355+ for (unsigned int key : keys) {
356+ unsigned int currElement = seqDbr->getId (key);
356357
357- if (assignedcluster[currElement] == UINT_MAX) {
358- assignedcluster[currElement] = clusterId;
359- }
358+ if (assignedcluster[currElement] == UINT_MAX) {
359+ assignedcluster[currElement] = clusterId;
360360 }
361361 }
362362 }
You can’t perform that action at this time.
0 commit comments