Skip to content

Commit 0eb3e3b

Browse files
committed
re-fix array-of-arrays case
1 parent df4a58d commit 0eb3e3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

base/broadcast.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ end
450450

451451
dotview(args...) = getindex(args...)
452452
dotview(A::AbstractArray, args...) = view(A, args...)
453+
dotview{T<:AbstractArray}(A::AbstractArray{T}, args...) = getindex(A, args...)
453454
# avoid splatting penalty in common cases:
454455
for nargs = 0:5
455456
args = Symbol[Symbol("x",i) for i = 1:nargs]

0 commit comments

Comments
 (0)