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():
40
40
p0 , t = a .get_pencil_and_transfer (newaxis )
41
41
a [:] = MPI .COMM_WORLD .Get_rank ()
42
42
b = a .redistribute (newaxis )
43
- a = b .redistribute (darray = a )
43
+ a = b .redistribute (out = a )
44
44
s0 = MPI .COMM_WORLD .reduce (np .linalg .norm (a )** 2 )
45
45
s1 = MPI .COMM_WORLD .reduce (np .linalg .norm (b )** 2 )
46
46
if MPI .COMM_WORLD .Get_rank () == 0 :
@@ -87,7 +87,7 @@ def test_3Darray():
87
87
p0 , t = a .get_pencil_and_transfer (newaxis )
88
88
a [:] = MPI .COMM_WORLD .Get_rank ()
89
89
b = a .redistribute (newaxis )
90
- a = b .redistribute (darray = a )
90
+ a = b .redistribute (out = a )
91
91
s0 = MPI .COMM_WORLD .reduce (np .linalg .norm (a )** 2 )
92
92
s1 = MPI .COMM_WORLD .reduce (np .linalg .norm (b )** 2 )
93
93
if MPI .COMM_WORLD .Get_rank () == 0 :
You can’t perform that action at this time.
0 commit comments