Skip to content

Commit

Permalink
clang fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NeelamMahapatro committed Jan 28, 2024
1 parent ce7db4d commit 82f7182
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions python/src/builder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ void build_memory_index(const diskann::Metric metric, const std::string &vector_
else
{
auto filter_params = diskann::IndexFilterParamsBuilder()
.with_universal_label(universal_label)
.with_label_file(filter_labels_file)
.with_save_path_prefix(index_output_path.c_str())
.build();
.with_universal_label(universal_label)
.with_label_file(filter_labels_file)
.with_save_path_prefix(index_output_path.c_str())
.build();
index.build_filtered_index(vector_bin_path.c_str(), data_num, filter_params, tags);
}
}
Expand All @@ -89,10 +89,10 @@ void build_memory_index(const diskann::Metric metric, const std::string &vector_
else
{
auto filter_params = diskann::IndexFilterParamsBuilder()
.with_universal_label(universal_label)
.with_label_file(filter_labels_file)
.with_save_path_prefix(index_output_path.c_str())
.build();
.with_universal_label(universal_label)
.with_label_file(filter_labels_file)
.with_save_path_prefix(index_output_path.c_str())
.build();
index.build_filtered_index(vector_bin_path.c_str(), data_num, filter_params);
}
}
Expand Down

0 comments on commit 82f7182

Please sign in to comment.