From c4a4b6a43b64a2a80e6c020bd694ba947cb1adb9 Mon Sep 17 00:00:00 2001 From: Woosub-Kim Date: Wed, 28 Feb 2024 12:22:38 +0900 Subject: [PATCH] scorecomplex redundant complex alignment re-solve --- src/strucclustutils/scorecomplex.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/strucclustutils/scorecomplex.cpp b/src/strucclustutils/scorecomplex.cpp index d71d492f..d3724576 100644 --- a/src/strucclustutils/scorecomplex.cpp +++ b/src/strucclustutils/scorecomplex.cpp @@ -362,7 +362,7 @@ class DBSCANCluster { maxClusterSize = neighbors.size(); currClusters.clear(); } - + SORT_SERIAL(neighbors.begin(), neighbors.end()); currClusters.emplace_back(neighbors); } @@ -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();