Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Inconsistent Uneven Grid Distributions #167

Merged
merged 5 commits into from
Sep 18, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Attempt to Fix Test
  • Loading branch information
JosephTomlinson committed Sep 18, 2018
commit 89f69c1007c804ee1735ad2652b436d34d7e719d
6 changes: 3 additions & 3 deletions test/darray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ using SparseArrays: nnz
end

@testset "Consistent Uneven Distribution issue #166" begin
DA = drand((7,), [MYID, OTHERIDS[1:2]])
@test fetch(@spawnat MYID length(localpart(DA)) == 3)
@test fetch(@spawnat OTHERIDS[1:2] length(localpart(DA)) == 2)
DA = drand((7,), [1,2,3])
@test fetch(@spawnat 1 length(localpart(DA)) == 3)
@test fetch(@spawnat [2,3] length(localpart(DA)) == 2)
close(DA)
end
end
Expand Down