Skip to content

Conversation

@maleadt
Copy link
Member

@maleadt maleadt commented May 7, 2020

No description provided.

@maleadt
Copy link
Member Author

maleadt commented May 7, 2020

julia> mapreduce(+,+,jl(ones(1)), jl(ones(2,2)))
8.0

julia> mapreduce(+,+,ones(1), ones(2,2))
2.0

Looks like we can't implement the implicit map(+, ..., ...) here using Broadcast?

julia> map(+, ones(1), ones(2,2))
1-element Array{Float64,1}:
 2.0

julia> ones(1) .+ ones(2,2)
2×2 Array{Float64,2}:
 2.0  2.0
 2.0  2.0

@maleadt maleadt force-pushed the tb/mapreduce_broadcast branch from a59b594 to 6e7560a Compare May 7, 2020 15:19
@maleadt maleadt merged commit 8494cfd into master May 8, 2020
@bors bors bot deleted the tb/mapreduce_broadcast branch May 8, 2020 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants