Skip to content

Commit fb73237

Browse files
committed
Fixed propagation of traits ParentLinks and SiblingLinks.
1 parent af3fabd commit fb73237

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/indexing.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ end
116116

117117
IndexNode(tree) = IndexNode(tree, rootindex(tree))
118118

119-
ParentLinks(::Type{<:IndexNode{N,T}}) where {N,T} = ParentLinks(T)
120-
SiblingLinks(::Type{<:IndexNode{N,T}}) where {N,T} = SiblingLinks(T)
119+
ParentLinks(::Type{<:IndexNode{T,I}}) where {T,I} = ParentLinks(T)
120+
SiblingLinks(::Type{<:IndexNode{T,I}}) where {T,I} = SiblingLinks(T)
121121

122122
nodevalue(idx::IndexNode) = nodevalue(idx.tree, idx.index)
123123

0 commit comments

Comments
 (0)