Ok to tag v0.2.0

This commit is contained in:
Olek 2017-01-02 19:09:36 +01:00
parent 37dd6467a9
commit fcb1e220d2
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "fux_kdtree" name = "fux_kdtree"
version = "0.1.1" version = "0.2.0"
authors = ["fulara <ntszar@gmail.com>"] authors = ["fulara <ntszar@gmail.com>"]
repository = "https://github.com/fulara/kdtree-rust" repository = "https://github.com/fulara/kdtree-rust"
keywords = ["tree", "dimension" , "nearest", "search", "neighbor"] keywords = ["tree", "dimension" , "nearest", "search", "neighbor"]

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.2 < depth as f64 { if self.node_depth_during_last_rebuild as f64 * 4.0 < depth as f64 {
self.gather_points_and_rebuild(); self.gather_points_and_rebuild();
} }
} }