Skip to content

Commit

Permalink
Minor-Change S to Partition.SCATTER
Browse files Browse the repository at this point in the history
Minor-Replaced S with Partition.Scatter
  • Loading branch information
rohanbabbar04 committed Jun 1, 2023
1 parent e6d551e commit 63f5249
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pylops_mpi/DistributedArray.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class DistributedArray:
MPI Communicator over which array is distributed.
Defaults to ``MPI.COMM_WORLD``.
partition : :obj:`str`, optional
Broadcast or Split the array. Defaults to ``S``.
Broadcast or Scatter the array. Defaults to ``Partition.SCATTER``.
dtype : :obj:`str`, optional
Type of elements in input array. Defaults to ``numpy.float64``.
"""
Expand Down Expand Up @@ -187,7 +187,7 @@ def to_dist(cls, x: NDArray,
base_comm : :obj:`MPI.Comm`, optional
Type of elements in input array. Defaults to ``MPI.COMM_WORLD``
partition : :obj:`str`, optional
Distributes the array, Defaults to ``S``.
Distributes the array, Defaults to ``Partition.Scatter``.
Returns
----------
dist_array : :obj:`DistributedArray`
Expand Down

0 comments on commit 63f5249

Please sign in to comment.