Skip to content

Commit 8c3d828

Browse files
committed
darray->out
1 parent e98d4ae commit 8c3d828

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_darray.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def test_2Darray():
4040
p0, t = a.get_pencil_and_transfer(newaxis)
4141
a[:] = MPI.COMM_WORLD.Get_rank()
4242
b = a.redistribute(newaxis)
43-
a = b.redistribute(darray=a)
43+
a = b.redistribute(out=a)
4444
s0 = MPI.COMM_WORLD.reduce(np.linalg.norm(a)**2)
4545
s1 = MPI.COMM_WORLD.reduce(np.linalg.norm(b)**2)
4646
if MPI.COMM_WORLD.Get_rank() == 0:
@@ -87,7 +87,7 @@ def test_3Darray():
8787
p0, t = a.get_pencil_and_transfer(newaxis)
8888
a[:] = MPI.COMM_WORLD.Get_rank()
8989
b = a.redistribute(newaxis)
90-
a = b.redistribute(darray=a)
90+
a = b.redistribute(out=a)
9191
s0 = MPI.COMM_WORLD.reduce(np.linalg.norm(a)**2)
9292
s1 = MPI.COMM_WORLD.reduce(np.linalg.norm(b)**2)
9393
if MPI.COMM_WORLD.Get_rank() == 0:

0 commit comments

Comments
 (0)