Skip to content

Commit 4b9d9d4

Browse files
authored
Update vector_of_array.jl
1 parent 016807f commit 4b9d9d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vector_of_array.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ end
914914
## broadcasting
915915

916916
struct VectorOfArrayStyle{N} <: Broadcast.AbstractArrayStyle{N} end # N is only used when voa sees other abstract arrays
917-
VectorOfArrayStyle(::Val{N}) where {N} = VectorOfArrayStyle{N}()
917+
VectorOfArrayStyle{N}(::Val{N}) where {N} = VectorOfArrayStyle{N}()
918918

919919
# The order is important here. We want to override Base.Broadcast.DefaultArrayStyle to return another Base.Broadcast.DefaultArrayStyle.
920920
Broadcast.BroadcastStyle(a::VectorOfArrayStyle, ::Base.Broadcast.DefaultArrayStyle{0}) = a

0 commit comments

Comments
 (0)