From aea5a7d16d5da7af9d30b4d781899bc4d0589f4c Mon Sep 17 00:00:00 2001 From: rafaqz Date: Tue, 26 Dec 2023 05:33:09 +0100 Subject: [PATCH] f --- src/primitives.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/primitives.jl b/src/primitives.jl index d1bc6c5be..e563b9a16 100644 --- a/src/primitives.jl +++ b/src/primitives.jl @@ -105,9 +105,9 @@ function _apply(f, ::Type{Target}, ::Nothing, A::AbstractArray; threaded=false, end end # There is no trait and this is not an AbstractArray. -# Try to aclla _apply over. We can't use threading on an -# arbitrary iterable as we maybe can't index into it. So just `map`. -# (TODO: maybe `collect` if `threaded=true` so we can thread?) +# Try to call _apply over it. We can't use threading +# as we don't know if we can can index into it. So just `map`. +# (TODO: maybe `collect` first if `threaded=true` so we can thread?) _apply(f, ::Type{Target}, ::Nothing, iterable; kw...) where Target = map(x -> _apply(f, Target, x; kw...), iterable) # Rewrap all FeatureCollectionTrait feature collections as GI.FeatureCollection