Skip to content

Commit bbc3e5e

Browse files
committed
Typo
1 parent e081f21 commit bbc3e5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/p_range.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -699,15 +699,15 @@ end
699699
"""
700700
partition_from_color(ranks,global_to_color;multicast=false,source=MAIN)
701701
702-
Build an arbitrary 1d partition by defining the parts via the argument `global_to_color`.
702+
Build an arbitrary 1d partition by defining the parts via the argument `global_to_color` (see below).
703703
The output is a vector of vectors containing the indices in each component of
704704
the partition. The `eltype` of the result implements the [`AbstractLocalIndices`](@ref)
705705
interface.
706706
707707
# Arguments
708708
709709
- `ranks`: Array containing the distribution of ranks.
710-
- `global_to_color`: If `multicast==false`, `global_to_color[gid]` contains the part id that own the global id `gid`. If `multicast==true`, then `global_to_color[source][gid]` contains the part id that owns the global id `gid`.
710+
- `global_to_color`: If `multicast==false`, `global_to_color[gid]` contains the part id that owns the global id `gid`. If `multicast==true`, then `global_to_color[source][gid]` contains the part id that owns the global id `gid`.
711711
712712
# Key-word arguments
713713
- `multicast=false`
@@ -725,7 +725,7 @@ function partition_from_color(ranks,global_to_color;multicast=false,source=MAIN)
725725
map(ranks) do rank
726726
nglobal = length(global_to_owner)
727727
own_to_global = findall(owner->owner==rank,global_to_owner)
728-
ghost_to_global = Int[]
728+
ghost_to_global = Int[]
729729
ghost_to_owner = Int32[]
730730
own = OwnIndices(nglobal,rank,own_to_global)
731731
ghost = GhostIndices(nglobal,ghost_to_global,ghost_to_owner)

0 commit comments

Comments
 (0)