From 3d40727d2b693a9288067bcf4e72db45d3688082 Mon Sep 17 00:00:00 2001 From: Alexis Montoison <35051714+amontoison@users.noreply.github.com> Date: Sun, 16 Feb 2025 13:29:49 -0600 Subject: [PATCH] Update cg_lanczos_shift.jl --- src/cg_lanczos_shift.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cg_lanczos_shift.jl b/src/cg_lanczos_shift.jl index c4ad43903..caed2a8b8 100644 --- a/src/cg_lanczos_shift.jl +++ b/src/cg_lanczos_shift.jl @@ -41,7 +41,7 @@ of size n. The method does _not_ abort if A + αI is not definite. * `M`: linear operator that models a Hermitian positive-definite matrix of size `n` used for centered preconditioning; * `ldiv`: define whether the preconditioner uses `ldiv!` or `mul!`; -* `check_curvature`: if `true`, check that the curvature of the quadratic along the search direction is positive, and abort if not, unless `linesearch` is also `true`; +* `check_curvature`: if `true`, check that the curvature of the quadratic along the search direction is positive, and abort if not; * `atol`: absolute stopping tolerance based on the residual norm; * `rtol`: relative stopping tolerance based on the residual norm; * `itmax`: the maximum number of iterations. If `itmax=0`, the default number of iterations is set to `2n`;