Skip to content

Commit 8d37dc0

Browse files
committed
remove apply(tfm, ::Tuple) method
1 parent 178786e commit 8d37dc0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/base.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,7 @@ getrandstate(::Transform) = nothing
7373
Apply `tfm` to an `item` or a tuple `items`.
7474
7575
"""
76-
apply(tfm::Transform, items) = apply(tfm, items; randstate = getrandstate(tfm))
77-
78-
79-
80-
function apply(tfm::Transform, items::Tuple; randstate = getrandstate(tfm))
76+
function apply(tfm::Transform, items; randstate = getrandstate(tfm))
8177
map(item -> apply(tfm, item; randstate = randstate), items)
8278
end
8379

0 commit comments

Comments
 (0)