Skip to content

Commit

Permalink
multiprocessing test correction
Browse files Browse the repository at this point in the history
  • Loading branch information
kdomino committed Sep 13, 2017
1 parent 3194fa1 commit 37ac57f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/comptimeproc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function comptimesonprocs(t::Int, n::Int, m::Int, p::Int, b::Int)
for i in 1:p
addprocs(i)
println("number of workers = ", nworkers())
@everywhere using Cumulants
eval(Expr(:toplevel, :(@everywhere using Cumulants)))
times[i] = comptime(data, moment, m, b)
rmprocs(workers())
end
Expand Down Expand Up @@ -79,4 +79,4 @@ function main(args)
savect(t::Int, n::Int, m::Int, p::Int, b::Int)
end

main(ARGS)
main(ARGS)
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,6 @@ addprocs(3)
@test convert(Array, c5) cn5
@test convert(Array, c6) cn6
@test convert(Array, c7) cn7
$(Expr(:toplevel, :(@test convert(Array, c8) cn8)))
@test convert(Array, c8) cn8
end
end

0 comments on commit 37ac57f

Please sign in to comment.