Skip to content

Commit

Permalink
Remove invalid anonymous function in broadcast_tup
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloferz committed Sep 19, 2016
1 parent 2193638 commit a345db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/broadcast.jl
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ end

@generated function broadcast_tup{AT,nargs}(f, As::AT, ::Type{Val{nargs}}, n)
quote
ntuple(n -> (@ncall $nargs f i->_broadcast_getindex(As[i], n)), Val{n})
(((@ncall $nargs f i->_broadcast_getindex(As[i], _)) for _ = 1:n)...)
end
end

Expand Down

0 comments on commit a345db2

Please sign in to comment.