File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments