Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
tarang-jain committed Oct 15, 2024
1 parent df54939 commit 93b2620
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions cpp/bench/ann/src/diskann/diskann_benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ void parse_search_param(const nlohmann::json& conf,
if (conf.contains("num_nodes_to_cache")) {
param.num_nodes_to_cache = conf.at("num_nodes_to_cache");
}
if (conf.contains("beam_width")) {
param.beam_width = conf.at("beam_width");
}
if (conf.contains("beam_width")) { param.beam_width = conf.at("beam_width"); }
}

template <typename T, template <typename> class Algo>
Expand Down
2 changes: 1 addition & 1 deletion cpp/bench/ann/src/diskann/diskann_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ class diskann_ssd : public algo<T> {
diskann_ssd(Metric metric, int dim, const build_param& param);

void build_from_bin(std::string dataset_path, std::string path_to_index, size_t nrow) override;
void build(const T* dataset, size_t nrow) override {
void build(const T* dataset, size_t nrow) override{
// do nothing. will not be used.
};

Expand Down

0 comments on commit 93b2620

Please sign in to comment.