We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27857ba commit 7f86c4dCopy full SHA for 7f86c4d
1 file changed
src/balanced_tree.jl
@@ -242,8 +242,8 @@ function Base.empty!(t::BalancedTree23)
242
initializeTree!(t.tree)
243
t.depth = 1
244
t.rootloc = 1
245
- t.freetreeinds = Vector{Int}()
246
- t.freedatainds = Vector{Int}()
+ empty!(t.freetreeinds)
+ empty!(t.freedatainds)
247
empty!(t.useddatacells)
248
push!(t.useddatacells, 1, 2)
249
return nothing
0 commit comments