Skip to content

Commit d828092

Browse files
authored
Merge pull request #172 from JuliaParallel/vc/rand!
don't specify rng
2 parents 0477de4 + 9c77f7a commit d828092

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/darray.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -787,9 +787,9 @@ end
787787

788788
using Random
789789

790-
function Random.rand!(rng::AbstractRNG, A::DArray, ::Type{T}) where T
790+
function Random.rand!(A::DArray, ::Type{T}) where T
791791
asyncmap(procs(A)) do p
792-
remotecall_wait((rng, A, T)->rand!(rng, localpart(A), T), p, rng, A, T)
792+
remotecall_wait((A, T)->rand!(localpart(A), T), p, A, T)
793793
end
794794
end
795795

0 commit comments

Comments
 (0)