Skip to content

Commit 67248f7

Browse files
committed
fix: bad edit on get_child
1 parent 6a00ffa commit 67248f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Node.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ end
217217
Return the `i`-th child of a node (1-indexed).
218218
"""
219219
@inline function get_child(n::AbstractNode{D}, i::Int) where {D}
220-
return get_children(n, i)
220+
return get_children(n)[i]
221221
end
222222

223223
"""

0 commit comments

Comments
 (0)