Fix formatting

This commit is contained in:
Dirkjan Ochtman 2021-01-14 18:29:39 +01:00
parent 6dc83caabe
commit 1b70dcf743
1 changed files with 1 additions and 3 deletions

View File

@ -370,9 +370,7 @@ fn insert<P: Point>(
layer.push(ZeroNode::default());
let found = match heuristic {
None => search.select_simple(M * 2),
Some(heuristic) => {
search.select_heuristic(&layer, M * 2, &points[new], points, *heuristic)
}
Some(heuristic) => search.select_heuristic(&layer, M * 2, &points[new], points, *heuristic),
};
// Just make sure the candidates are all unique