Fix formatting
This commit is contained in:
parent
6dc83caabe
commit
1b70dcf743
|
@ -370,9 +370,7 @@ fn insert<P: Point>(
|
||||||
layer.push(ZeroNode::default());
|
layer.push(ZeroNode::default());
|
||||||
let found = match heuristic {
|
let found = match heuristic {
|
||||||
None => search.select_simple(M * 2),
|
None => search.select_simple(M * 2),
|
||||||
Some(heuristic) => {
|
Some(heuristic) => search.select_heuristic(&layer, M * 2, &points[new], points, *heuristic),
|
||||||
search.select_heuristic(&layer, M * 2, &points[new], points, *heuristic)
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Just make sure the candidates are all unique
|
// Just make sure the candidates are all unique
|
||||||
|
|
Loading…
Reference in New Issue