Skip to content

Commit f8044b3

Browse files
committed
revert children to use Base.in
oops
1 parent 6d64340 commit f8044b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/composition/learning_networks/inspection.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ List all (immediate) children of node `N` in the ancestor graph of `y`
1313
1414
"""
1515
children(N::AbstractNode, y::AbstractNode) = filter(nodes(y)) do Z
16-
t = MMI.isrepresented(N, MLJBase.args(Z)) ||
17-
MMI.isrepresented(N, MLJBase.train_args(Z))
16+
t = N in MLJBase.args(Z) ||
17+
N in MLJBase.train_args(Z)
1818
end |> unique
1919

2020
@constant X = source()

0 commit comments

Comments
 (0)