Skip to content

Commit 8902644

Browse files
authored
Fix typos in some docstring (#830)
1 parent 3f98462 commit 8902644

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/collective.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ Allreduce(obj::T, op, comm::Comm) where {T} =
783783
Scan!(sendrecvbuf, op, comm::Comm)
784784
785785
Inclusive prefix reduction (analagous to `accumulate` in Julia): `recvbuf` on rank `i`
786-
will contain the the result of reducing `sendbuf` by `op` from ranks `0:i`.
786+
will contain the result of reducing `sendbuf` by `op` from ranks `0:i`.
787787
788788
If only a single buffer `sendrecvbuf` is provided, then operations will be performed
789789
in-place.
@@ -814,7 +814,7 @@ Scan!(buf, op, comm::Comm) =
814814
recvbuf = Scan(sendbuf, op, comm::Comm)
815815
816816
Inclusive prefix reduction (analagous to `accumulate` in Julia): `recvbuf` on rank `i`
817-
will contain the the result of reducing `sendbuf` by `op` from ranks `0:i`.
817+
will contain the result of reducing `sendbuf` by `op` from ranks `0:i`.
818818
819819
`sendbuf` can also be a scalar, in which case `recvbuf` will also be a scalar of the same
820820
type.
@@ -838,7 +838,7 @@ Scan(object::T, op, comm::Comm) where {T} = Scan!(Ref(object), Ref{T}(), op, com
838838
Exscan!(sendrecvbuf, op, comm::Comm)
839839
840840
Exclusive prefix reduction (analagous to `accumulate` in Julia): `recvbuf` on rank `i`
841-
will contain the the result of reducing `sendbuf` by `op` from ranks `0:i-1`. The
841+
will contain the result of reducing `sendbuf` by `op` from ranks `0:i-1`. The
842842
`recvbuf` on rank `0` is ignored, and the `recvbuf` on rank `1` will contain the contents
843843
of `sendbuf` on rank `0`.
844844
@@ -870,7 +870,7 @@ Exscan!(buf, op, comm::Comm) = Exscan!(IN_PLACE, buf, op, comm)
870870
recvbuf = Exscan(sendbuf, op, comm::Comm)
871871
872872
Exclusive prefix reduction (analagous to `accumulate` in Julia): `recvbuf` on rank `i`
873-
will contain the the result of reducing `sendbuf` by `op` from ranks `0:i-1`. The
873+
will contain the result of reducing `sendbuf` by `op` from ranks `0:i-1`. The
874874
`recvbuf` on rank `0` is undefined, and the `recvbuf` on rank `1` will contain the contents
875875
of `sendbuf` on rank `0`.
876876

0 commit comments

Comments
 (0)