-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
arrays[a, r, r, a, y, s][a, r, r, a, y, s]breakingThis change will break codeThis change will break codebroadcastApplying a function over a collectionApplying a function over a collectiondesignDesign of APIs or of the language itselfDesign of APIs or of the language itself
Milestone
Description
julia> map(typeof, (zeros(), ones(), fill(3.14)))
(Array{Float64,0}, Array{Float64,0}, Array{Float64,0})
julia> typeof(ones() .* fill(3.14))
Float64
julia> typeof(zeros() + ones()) # in fact not only after broadcast
Float64
Is it a bug, or a feature?
dlfivefifty, GiggleLiu, MilesCranmer and nsajko
Metadata
Metadata
Assignees
Labels
arrays[a, r, r, a, y, s][a, r, r, a, y, s]breakingThis change will break codeThis change will break codebroadcastApplying a function over a collectionApplying a function over a collectiondesignDesign of APIs or of the language itselfDesign of APIs or of the language itself