Skip to content

Commit 9c77f7a

Browse files
committed
don't specify rng
1 parent 0477de4 commit 9c77f7a

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)