Skip to content

Should broadcast work on distributed arrays? #121

Closed
@alanedelman

Description

@alanedelman

I rather like the second behavior and hoping it could be made to work
by overloading the dot in broadcast.

a = distribute(1:5)
(x->x+1).(a)
5-element Array{Int64,1}:
 2
 3
 4
 5
 6
map(x->x+1,a)
5-element DistributedArrays.DArray{Int64,1,Array{Int64,1}}:
 2
 3
 4
 5
 6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions