Reset furthest value in Search

This commit is contained in:
Dirkjan Ochtman 2020-12-16 12:05:02 +01:00
parent b20f4efeae
commit 098a4e4ef6
1 changed files with 1 additions and 0 deletions

View File

@ -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`