Skip to content

Commit

Permalink
Docstring edits
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Dec 6, 2023
1 parent d5838e5 commit f7e8deb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion scico/linop/_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def __init__(
:class:`BlockArray` with shape ((m, n, ...), (m, n, ...),
...), the output is instead a :class:`jax.Array` with
shape (S, m, n, ...) where S is the length of `ops`.
Defaults to ``True``.
jit: See `jit` in :class:`LinearOperator`.
"""
super().__init__(ops=ops, collapse_output=collapse_output, jit=jit, **kwargs)
Expand Down
3 changes: 1 addition & 2 deletions scico/operator/_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ def __init__(
:class:`BlockArray` with shape ((m, n, ...), (m, n, ...),
...), the output is instead a :class:`jax.Array` with
shape (S, m, n, ...) where S is the length of `ops`.
Defaults to ``True``.
jit: See `jit` in :class:`Operator`.
"""
VerticalStack.check_if_stackable(ops)
Expand Down Expand Up @@ -146,7 +145,7 @@ def _eval(self, x: Array) -> Union[Array, BlockArray]:
return BlockArray([op(x) for op in self.ops])

def scale_ops(self, scalars: Array):
"""Scale component linear operators.
"""Scale component operators.
Return a copy of `self` with each operator scaled by the
corresponding entry in `scalars`.
Expand Down

0 comments on commit f7e8deb

Please sign in to comment.