Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sunqm committed Jul 8, 2024
1 parent a320047 commit 31ca7bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyscf/grad/lagrange.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ def __call__(self, x):

if scipy.__version__.split('.')[1] >= '14': # scipy 1.14
def _cg(A, b, x0=None, *, tol=1e-05, atol=0.0, maxiter=None, M=None, callback=None):
return sparse_linalg.cg(A, b, x0, rtol=tol, atol=atol, maxiter=maxiter, M=M,
return sparse_linalg.cg(A, b, x0, rtol=tol, atol=atol, maxiter=maxiter,
M=M, callback=callback)
else:
_cg = sparse_linalg.cg

0 comments on commit 31ca7bf

Please sign in to comment.