diff --git a/src/broadcast.jl b/src/broadcast.jl index 03a0dd5a..e14d7a06 100644 --- a/src/broadcast.jl +++ b/src/broadcast.jl @@ -54,7 +54,7 @@ else BroadcastStyle(::StaticArrayStyle{M}, ::Broadcast.MatrixStyle) where {N,M} = Broadcast.Unknown() # Add a broadcast method that calls the old @generated routine - @inline function broadcast(f, ::StaticArrayStyle{N}, ::Type{ElType}, inds::Tuple{Vararg{AbstractUnitRange, M}} where M, As...) where {N, ElType} + @inline function broadcast(f, ::StaticArrayStyle, ::Void, ::Void, As...) _broadcast(f, broadcast_sizes(As...), As...) end