Skip to content

Commit 96d0ff1

Browse files
committed
fix prevsibling
1 parent 781a01d commit 96d0ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/indexing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ function nextsibling(idx::IndexNode)
133133
isnothing(sidx) ? nothing : IndexNode(idx.tree, sidx)
134134
end
135135

136-
function prevsibling(rn::IndexNode)
136+
function prevsibling(idx::IndexNode)
137137
sidx = prevsiblingindex(idx.tree, idx.index)
138138
isnothing(sidx) ? nothing : IndexNode(idx.tree, sidx)
139139
end

0 commit comments

Comments
 (0)