mirror of
https://github.com/andreytkachenko/kdtree-rust.git
synced 2024-11-21 17:06:24 +04:00
tweaking
This commit is contained in:
parent
2be7ff9a4c
commit
2f8fb5d21d
@ -129,7 +129,7 @@ impl<KdtreePoint: KdtreePointTrait> Kdtree<KdtreePoint> {
|
||||
self.nodes.pop();
|
||||
}
|
||||
|
||||
if self.node_depth_during_last_rebuild as f64 * 8.0 < depth as f64 {
|
||||
if self.node_depth_during_last_rebuild as f64 * 2.0 < depth as f64 {
|
||||
self.gather_points_and_rebuild();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user