Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
cevian committed Dec 5, 2023
1 parent 526646d commit da111e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions timescale_vector/src/access_method/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ impl ListSearchResult {
let last = self.best_candidate.last().unwrap();
if n >= *last {
//n is too far in the list to be the best candidate.
return usize::MAX;
return 101;
}
self.best_candidate.pop();
}
Expand Down Expand Up @@ -531,7 +531,7 @@ pub trait Graph {
if !neighbors_existed {
panic!("Nodes in the list search results that aren't in the builder");
}
let mut min = 100;
let mut min = 200;
for neighbor_index_pointer in &neighbors {
let idx = lsr.insert(index, self, *neighbor_index_pointer, query);
if idx < min {
Expand Down

0 comments on commit da111e6

Please sign in to comment.