Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sanketkedia committed Nov 14, 2024
1 parent 12db19e commit c6529cf
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions rust/index/src/hnsw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,6 @@ impl ChromaError for HnswIndexFromSegmentError {
}

impl HnswIndexConfig {
pub fn new_default() -> Self {
HnswIndexConfig {
max_elements: DEFAULT_MAX_ELEMENTS,
m: DEFAULT_HNSW_M,
ef_construction: DEFAULT_HNSW_EF_CONSTRUCTION,
ef_search: DEFAULT_HNSW_EF_SEARCH,
random_seed: 0,
persist_path: "".to_string(),
}
}

pub fn new(
m: usize,
ef_construction: usize,
Expand Down

0 comments on commit c6529cf

Please sign in to comment.