Skip to content

Commit

Permalink
clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanhaoji2 committed Apr 30, 2024
1 parent 209a15a commit 6863ba6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion include/abstract_graph_store.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

#include <string>
#include <vector>

#include "types.h"

namespace diskann
Expand Down
2 changes: 1 addition & 1 deletion include/abstract_index.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class AbstractIndex

template <typename label_type> void set_universal_label(const label_type universal_label);

virtual bool is_label_valid(const std::string& raw_label) const = 0;
virtual bool is_label_valid(const std::string &raw_label) const = 0;
virtual bool is_set_universal_label() const = 0;

private:
Expand Down
1 change: 0 additions & 1 deletion include/index.h
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,6 @@ template <typename T, typename TagT = uint32_t, typename LabelT = uint32_t> clas

char *_opt_graph = nullptr;

T *_data = nullptr; // coordinates of all base points
// Dimensions
size_t _dim = 0;
size_t _nd = 0; // number of active points i.e. existing in the graph
Expand Down

0 comments on commit 6863ba6

Please sign in to comment.