maximum recursion depth exceeded when inserting points into a quadtree using Python (dying looking for the bug)
问题 I am trying to build a point region quadtree which stores points on a 2D map with Python, but when I try to insert two points which are close (not too close) to each other, I run into an error: RuntimeError: maximum recursion depth exceeded in cmp . I have tried to raised the maximum recursion number to 10000, but doesn't work. So I guess there's something wrong in my codes. Can someone help me with this please? I am a newbee in programming and have been stuck on this for two days. BTW, if