Skip to content

Commit 4365a32

Browse files
committed
Fix fxn copying breakage
1 parent 6e63499 commit 4365a32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_bcast.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ comm = MPI.COMM_WORLD
3434

3535
g = x -> x^2 + 2x - 1
3636
if MPI.Comm_rank(comm) == root
37-
f = copy(g)
37+
f = g
3838
else
3939
f = nothing
4040
end

0 commit comments

Comments
 (0)