about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--quadtree.go4
1 files changed, 0 insertions, 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{}) {