Skip to content

Commit

Permalink
Update lazyapplying.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
dlfivefifty committed Jun 3, 2021
1 parent ab6b9a2 commit f6b192b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lazyapplying.jl
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ function show(io::IO, A::Applied)
end

applybroadcaststyle(::Type{<:AbstractArray{<:Any,N}}, _2) where N = DefaultArrayStyle{N}()
applybroadcaststyle(::Type{<:AbstractArray{<:Any,N}}, ::LazyLayout) where N = LazyArrayStyle{N}()
applybroadcaststyle(::Type{<:AbstractArray{<:Any,N}}, ::AbstractLazyLayout) where N = LazyArrayStyle{N}()
BroadcastStyle(M::Type{<:ApplyArray}) = applybroadcaststyle(M, MemoryLayout(M))
BroadcastStyle(M::Type{<:SubArray{<:Any,N,<:ApplyArray}}) where N = applybroadcaststyle(M, MemoryLayout(M))

Expand Down

0 comments on commit f6b192b

Please sign in to comment.