Skip to content

Commit

Permalink
scorecomplex redundant complex alignment re-solve
Browse files Browse the repository at this point in the history
  • Loading branch information
Woosub-Kim committed Feb 28, 2024
1 parent e77b643 commit c4a4b6a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/strucclustutils/scorecomplex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ class DBSCANCluster {
maxClusterSize = neighbors.size();
currClusters.clear();
}

SORT_SERIAL(neighbors.begin(), neighbors.end());
currClusters.emplace_back(neighbors);
}

Expand All @@ -376,7 +376,6 @@ class DBSCANCluster {
finalClusters.clear();
prevMaxClusterSize = maxClusterSize;
}
SORT_SERIAL(currClusters.begin(), currClusters.end());
finalClusters.insert(currClusters.begin(), currClusters.end());
eps += learningRate;
return runDBSCAN();
Expand Down

0 comments on commit c4a4b6a

Please sign in to comment.