diff options
author | hanemile <hanemile@protonmail.com> | 2019-01-23 16:47:35 +0100 |
---|---|---|
committer | hanemile <hanemile@protonmail.com> | 2019-01-23 16:47:35 +0100 |
commit | 62b1d17aa66f7d94685cbf51b21e787064be2d2b (patch) | |
tree | 461d95448a628e8e789cf1c0b56ad58022a8f8ee | |
parent | be1b1d3d486499e4a7488747fdc1fbd31f7a5a36 (diff) |
updated the recursion limit
-rw-r--r-- | quadtree.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quadtree.go b/quadtree.go index ebab528..a954601 100644 --- a/quadtree.go +++ b/quadtree.go @@ -62,7 +62,7 @@ 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-20 { + if n.Boundry.Width < 1e-60 { return fmt.Errorf("%s", "Max Recursion depth reached!") } |