Skip to content

Commit

Permalink
Merge 6f730cc into 2812130
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Feb 14, 2018
2 parents 2812130 + 6f730cc commit 691a9d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ParallelDataTransfer.jl
Expand Up @@ -29,7 +29,7 @@ module ParallelDataTransfer
end
end

function passobj(src::Int, target::Vector{Int}, nm::Symbol;
function passobj(src::Int, target::AbstractVector{Int}, nm::Symbol;
from_mod=Main, to_mod=Main)
r = RemoteChannel(src)
@spawnat(src, put!(r, getfield(from_mod, nm)))
Expand Down Expand Up @@ -58,7 +58,7 @@ module ParallelDataTransfer
end
end

function sendto(ps::Vector{Int}; args...)
function sendto(ps::AbstractVector{Int}; args...)
for p in ps
sendto(p; args...)
end
Expand Down

0 comments on commit 691a9d4

Please sign in to comment.