Skip to content

Commit

Permalink
Update docstring of lib.linalg_helper.solve
Browse files Browse the repository at this point in the history
  • Loading branch information
sunqm committed Sep 1, 2024
1 parent 84a6160 commit 535d073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyscf/lib/linalg_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -1407,7 +1407,7 @@ def krylov(aop, b, x0=None, tol=1e-10, max_cycle=30, dot=numpy.dot,

def solve(aop, b, precond=None, tol=1e-12, max_cycle=60, dot=numpy.dot,
lindep=DSOLVE_LINDEP, verbose=0, tol_residual=None):
'''Solve linear equation using the scipy.sparse module
'''Solve a linear equation using the GMRES solver from the scipy.sparse module.
'''
from scipy.sparse.linalg import gmres, LinearOperator
assert b.ndim == 1
Expand Down

0 comments on commit 535d073

Please sign in to comment.