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
# Broadcast implementation that defers to the underlying BroadcastStyle. We can't
55
57
# assume that `getindex` is fast, furthermore we can't assume that the distribution of
@@ -119,7 +121,7 @@ end
119
121
120
122
# Distribute broadcast
121
123
#TODO: How to decide on cuts
122
-
@inlinebcdistribute(bc::Broadcasted{Style}) where Style =Broadcasted{DArrayStyle{Style}}(bc.f, bcdistribute_args(bc.args), bc.axes)
124
+
@inlinebcdistribute(bc::Broadcasted{Style}) where Style<:Union{Nothing,BroadcastStyle}=Broadcasted{DArrayStyle{Style}}(bc.f, bcdistribute_args(bc.args), bc.axes)
123
125
@inlinebcdistribute(bc::Broadcasted{Style}) where Style<:DArrayStyle=Broadcasted{Style}(bc.f, bcdistribute_args(bc.args), bc.axes)
124
126
125
127
# ask BroadcastStyle to decide if argument is in need of being distributed
0 commit comments