You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DArrayStyle(::S, ::Val{N}) where {S,N} =DArrayStyle(S(Val(N)))
11
11
DArrayStyle(::Val{N}) where N =DArrayStyle{Broadcast.DefaultArrayStyle{N}}()
@@ -119,7 +119,7 @@ end
119
119
120
120
# Distribute broadcast
121
121
#TODO: How to decide on cuts
122
-
@inlinebcdistribute(bc::Broadcasted{Style}) where Style =Broadcasted{DArrayStyle{Style}}(bc.f, bcdistribute_args(bc.args), bc.axes)
122
+
@inlinebcdistribute(bc::Broadcasted{Style}) where Style<:Union{Nothing,BroadcastStyle}=Broadcasted{DArrayStyle{Style}}(bc.f, bcdistribute_args(bc.args), bc.axes)
123
123
@inlinebcdistribute(bc::Broadcasted{Style}) where Style<:DArrayStyle=Broadcasted{Style}(bc.f, bcdistribute_args(bc.args), bc.axes)
124
124
125
125
# ask BroadcastStyle to decide if argument is in need of being distributed
0 commit comments