From a189ed58ad5fe9c8a4c55d58fe7f4af9a2a42d0d Mon Sep 17 00:00:00 2001 From: hanemile Date: Wed, 23 Jan 2019 16:58:01 +0100 Subject: removed the recursion limit again --- quadtree.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/quadtree.go b/quadtree.go index a954601..744389a 100644 --- a/quadtree.go +++ b/quadtree.go @@ -62,10 +62,6 @@ func (n *Node) Subdivide() { // Insert inserts the given star into the Node or the tree it is called on func (n *Node) Insert(star Star2D) error { - if n.Boundry.Width < 1e-60 { - return fmt.Errorf("%s", "Max Recursion depth reached!") - } - // if the subtree does not contain a node, insert the star if n.Star == (Star2D{}) { -- cgit 1.4.1