Skip to content

Commit fa9f2aa

Browse files
committed
minor: improved docstring of ≈≈inplace_set
1 parent 992c2cb commit fa9f2aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pylops/utils/backend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,11 +577,11 @@ def inplace_set(x: npt.ArrayLike, y: npt.ArrayLike, idx: list) -> NDArray:
577577
Parameters
578578
----------
579579
x : :obj:`numpy.ndarray` or :obj:`jax.Array`
580-
Array to sum
580+
Array whose values are placed at indices ``idx``
581581
y : :obj:`numpy.ndarray` or :obj:`jax.Array`
582582
Output array
583583
idx : :obj:`list`
584-
Indices to sum at
584+
Indices where values ``x`` are set
585585
586586
Returns
587587
-------

0 commit comments

Comments
 (0)