Skip to content

Commit 0957045

Browse files
committed
more fixes
1 parent 39bdb12 commit 0957045

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/usymlqr.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@ For an in-place variant that reuses memory across solves, see [`usymlqr!`](@ref)
9999
function usymlqr end
100100

101101
"""
102-
workspace = trimr!(workspace::UsymlqrWorkspace, A, b, c; kwargs...)
103-
workspace = trimr!(workspace::UsymlqrWorkspace, A, b, c, x0, y0; kwargs...)
102+
workspace = usymlqr!(workspace::UsymlqrWorkspace, A, b, c; kwargs...)
103+
workspace = usymlqr!(workspace::UsymlqrWorkspace, A, b, c, x0, y0; kwargs...)
104104
105105
In these calls, `kwargs` are keyword arguments of [`usymlqr`](@ref).
106106
107107
See [`UsymlqrWorkspace`](@ref) for instructions on how to create the `workspace`.
108108
109-
For a more generic interface, you can use [`krylov_workspace`](@ref) to allocate the workspace,
109+
For a more generic interface, you can use [`krylov_workspace`](@ref) `method = :usymlqr` to allocate the workspace,
110110
and [`krylov_solve!`](@ref) to run the Krylov method in-place.
111111
"""
112112
function usymlqr! end
@@ -501,7 +501,7 @@ kwargs_usymlqr = (:transfer_to_usymcg, :M, :N, :ldiv, :atol, :rtol, :itmax, :tim
501501
user_requested_exit && (status = "user-requested exit")
502502
overtimed && (status = "time limit exceeded")
503503

504-
# Compute the solution the saddle point system
504+
# Compute the solution of the saddle point system
505505
# xₖ ← xₖ + zₖ
506506
# yₖ ← yₖ + rₖ
507507
kaxpy!(n, one(FC), zₖ, xₖ)

0 commit comments

Comments
 (0)