Skip to content

Commit f551205

Browse files
committed
Delete broken method
1 parent 635080d commit f551205

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/darray.jl

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -691,21 +691,6 @@ function Base.deepcopy(src::DArray)
691691
end
692692
return dest
693693
end
694-
695-
# local copies are obtained by convert(Array, ) or assigning from
696-
# a SubDArray to a local Array.
697-
698-
function Base.setindex!(a::Array, d::DArray,
699-
I::Union{UnitRange{Int},Colon,Vector{Int},StepRange{Int,Int}}...)
700-
@sync for (pid, K) in zip(d.pids, d.indices)
701-
idxs = map((Ij, Kj) -> Ij[Kj], I, K)
702-
if !any(isempty, idxs)
703-
@async a[idxs...] = chunk(d, pid)
704-
end
705-
end
706-
return a
707-
end
708-
709694
# We also want to optimize setindex! with a SubDArray source, but this is hard
710695
# and only works on 0.5.
711696

0 commit comments

Comments
 (0)