Skip to content

Commit

Permalink
re-fix array-of-arrays case
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Jul 27, 2016
1 parent df4a58d commit 0eb3e3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/broadcast.jl
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ end

dotview(args...) = getindex(args...)
dotview(A::AbstractArray, args...) = view(A, args...)
dotview{T<:AbstractArray}(A::AbstractArray{T}, args...) = getindex(A, args...)
# avoid splatting penalty in common cases:
for nargs = 0:5
args = Symbol[Symbol("x",i) for i = 1:nargs]
Expand Down

0 comments on commit 0eb3e3b

Please sign in to comment.