From 37dd6467a967f63c5f4293720d9e66deb4e345ce Mon Sep 17 00:00:00 2001 From: Olek Date: Sat, 31 Dec 2016 22:57:16 +0100 Subject: [PATCH] tweaking --- src/kdtree/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kdtree/mod.rs b/src/kdtree/mod.rs index 3a3bb39..0c90140 100644 --- a/src/kdtree/mod.rs +++ b/src/kdtree/mod.rs @@ -129,7 +129,7 @@ impl Kdtree { 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(); } }