mirror of
https://github.com/instant-labs/instant-distance.git
synced 2025-02-09 01:12:03 +00:00
Reset furthest value in Search
This commit is contained in:
parent
b20f4efeae
commit
098a4e4ef6
@ -220,6 +220,7 @@ impl Search {
|
||||
self.visited.clear();
|
||||
self.candidates.clear();
|
||||
self.nearest.clear();
|
||||
self.furthest = OrderedFloat::from(f32::INFINITY);
|
||||
}
|
||||
|
||||
/// Track node `pid` as a potential new neighbor for the given `point`
|
||||
|
Loading…
Reference in New Issue
Block a user