This commit is contained in:
Olek 2016-12-31 22:57:16 +01:00
parent 88ce35ee64
commit 37dd6467a9

View File

@ -129,7 +129,7 @@ impl<KdtreePoint: KdtreePointTrait> Kdtree<KdtreePoint> {
self.nodes.pop(); self.nodes.pop();
} }
if self.node_depth_during_last_rebuild as f64 * 1.5 < depth as f64 { if self.node_depth_during_last_rebuild as f64 * 1.2 < depth as f64 {
self.gather_points_and_rebuild(); self.gather_points_and_rebuild();
} }
} }