Skip to content

Commit 6e96562

Browse files
committed
remove setindex!(leaf, el, i)
this is unsafe operation -- no MBR checks/updates are done, so it should not be exposed
1 parent 406a92a commit 6e96562

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/rtree/node.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,6 @@ end
6060

6161
level(node::Leaf) = 1 # always
6262

63-
function Base.setindex!(leaf::Leaf, el::Any, i::Integer)
64-
check_eltype_rtree(el)
65-
setindex!(children(node), child, i)
66-
end
67-
6863
"""
6964
R-Tree node for levels above 1 (non-`Leaf`).
7065
"""

0 commit comments

Comments
 (0)