From fcb1e220d2b8ad7145bec401c666edc8e64e9fce Mon Sep 17 00:00:00 2001 From: Olek Date: Mon, 2 Jan 2017 19:09:36 +0100 Subject: [PATCH] Ok to tag v0.2.0 --- Cargo.toml | 2 +- src/kdtree/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 80781b3..7af28b3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fux_kdtree" -version = "0.1.1" +version = "0.2.0" authors = ["fulara "] repository = "https://github.com/fulara/kdtree-rust" keywords = ["tree", "dimension" , "nearest", "search", "neighbor"] diff --git a/src/kdtree/mod.rs b/src/kdtree/mod.rs index 0c90140..5427621 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.2 < depth as f64 { + if self.node_depth_during_last_rebuild as f64 * 4.0 < depth as f64 { self.gather_points_and_rebuild(); } }