Skip to content

Commit d90187c

Browse files
committed
Pass opfunc correctly to Reduce
1 parent 556e428 commit d90187c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mpi-op.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ Allreduce!{T}(sendbuf::MPIBuffertype{T}, recvbuf::MPIBuffertype{T},
6666
Allreduce!(sendbuf, recvbuf, count, user_op(opfunc), comm)
6767

6868
Reduce{T}(sendbuf::MPIBuffertype{T}, count::Integer,
69-
op::Function, root::Integer, comm::Comm) =
69+
opfunc::Function, root::Integer, comm::Comm) =
7070
Reduce(sendbuf, count, user_op(opfunc), root, comm)

0 commit comments

Comments
 (0)