Skip to content

Commit

Permalink
Update trilqr.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Nov 5, 2024
1 parent 8851878 commit 6ded9f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trilqr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ kwargs_trilqr = (:transfer_to_usymcg, :atol, :rtol, :itmax, :timemax, :verbose,
uₖ .= s₀ ./ γₖ # u₁ = (c - Aᴴy₀) / γ₁
cₖ₋₁ = cₖ = -one(T) # Givens cosines used for the LQ factorization of Tₖ
sₖ₋₁ = sₖ = zero(FC) # Givens sines used for the LQ factorization of Tₖ
d̅ .= zero(FC) # Last column of D̅ₖ = Uₖ(Qₖ)ᴴ
kfill!(d̅, zero(FC)) # Last column of D̅ₖ = Uₖ(Qₖ)ᴴ
ζₖ₋₁ = ζbarₖ = zero(FC) # ζₖ₋₁ and ζbarₖ are the last components of z̅ₖ = (L̅ₖ)⁻¹β₁e₁
ζₖ₋₂ = ηₖ = zero(FC) # ζₖ₋₂ and ηₖ are used to update ζₖ₋₁ and ζbarₖ
δbarₖ₋₁ = δbarₖ = zero(FC) # Coefficients of Lₖ₋₁ and L̅ₖ modified over the course of two iterations
Expand Down

0 comments on commit 6ded9f6

Please sign in to comment.