diff --git a/src/common/range_util.cc b/src/common/range_util.cc index 218933dcc..ed2b3847d 100644 --- a/src/common/range_util.cc +++ b/src/common/range_util.cc @@ -65,7 +65,6 @@ GetRangeSearchResult(const faiss::RangeSearchResult& res, const bool is_ip, cons distances = new float[total_valid]; labels = new int64_t[total_valid]; -#pragma omp parallel for for (auto i = 0; i < nq; i++) { FilterRangeSearchResultForOneNq(res.lims[i + 1] - res.lims[i], res.distances + res.lims[i], res.labels + res.lims[i], is_ip, radius, range_filter, lims[i + 1] - lims[i], diff --git a/src/index/diskann/diskann.cc b/src/index/diskann/diskann.cc index 3649e01df..94cbde0f6 100644 --- a/src/index/diskann/diskann.cc +++ b/src/index/diskann/diskann.cc @@ -9,8 +9,6 @@ // is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express // or implied. See the License for the specific language governing permissions and limitations under the License. -#include - #include #include "common/range_util.h" diff --git a/src/index/hnsw/hnsw.cc b/src/index/hnsw/hnsw.cc index 8d52f6a89..d82dcd581 100644 --- a/src/index/hnsw/hnsw.cc +++ b/src/index/hnsw/hnsw.cc @@ -11,9 +11,6 @@ #include "knowhere/feder/HNSW.h" -#include - -#include #include #include "common/range_util.h"