Skip to content

Commit

Permalink
DOC: Disambiguate matmul binop in docstring+comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
rossbar committed Oct 27, 2021
1 parent eedca98 commit 082e0ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scipy/sparse/linalg/isolve/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def make_system(A, M, x0, b):
sparse or dense matrix (or any valid input to aslinearoperator)
x0 : {array_like, str, None}
initial guess to iterative method.
``x0 = 'Mb'`` means using the nonzero initial guess ``M * b``.
``x0 = 'Mb'`` means using the nonzero initial guess ``M @ b``.
Default is `None`, which means using the zero initial guess.
b : array_like
right hand side
Expand Down Expand Up @@ -117,7 +117,7 @@ def postprocess(x):
if x0 is None:
x = zeros(N, dtype=xtype)
elif isinstance(x0, str):
if x0 == 'Mb': # use nonzero initial guess ``M * b``
if x0 == 'Mb': # use nonzero initial guess ``M @ b``
bCopy = b.copy()
x = M.matvec(bCopy)
else:
Expand Down

0 comments on commit 082e0ce

Please sign in to comment.