rtreelib icon indicating copy to clipboard operation
rtreelib copied to clipboard

Errors with empty trees

Open lifepillar opened this issue 2 years ago • 0 comments

Something like:

t = RTree()
list(t.query((2,4)))

results in AttributeError: 'NoneType' object has no attribute 'min_x'. Shouldn't the above return an empty list? Alternatively, how to test for emptiness?

lifepillar avatar Jun 01 '22 09:06 lifepillar