Skip to content

Commit

Permalink
Docstring edits
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Oct 26, 2023
1 parent 107ee35 commit fe97787
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scico/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ def __init__(
:class:`Diagonal`, specifies the diagonal elements
of :math:`D`.
W: Matrix :math:`W`. Specifies the diagonal elements of
:math:`W`. Defaults to ones.
:math:`W`. Defaults to an array with unit entries.
cho_factor: Flag indicating whether to use Cholesky
(``True``) or LU (``False``) factorization.
lower: Flag indicating whether lower (``True``) or upper
Expand All @@ -727,7 +727,7 @@ def __init__(
else:
D = jnp.array(D)
if not D.ndim in [1, 2]:
raise ValueError("If matrix, D should be 1D or 2D.")
raise ValueError("If MatrixOperator, D should be 1D or 2D.")

if W is None:
W = snp.ones(A.shape[0], dtype=A.dtype)
Expand Down

0 comments on commit fe97787

Please sign in to comment.