From 31ca7bf6c42ec5741672bb7da82d9ce8afc744da Mon Sep 17 00:00:00 2001 From: Qiming Sun Date: Sun, 7 Jul 2024 20:11:02 -0700 Subject: [PATCH] typo --- pyscf/grad/lagrange.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyscf/grad/lagrange.py b/pyscf/grad/lagrange.py index 692cf82a8e..89ff6d99a0 100644 --- a/pyscf/grad/lagrange.py +++ b/pyscf/grad/lagrange.py @@ -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