Skip to content

Commit

Permalink
fix doc issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tmigot committed Feb 7, 2024
1 parent aeb2b4e commit bf3f1ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/examples/cgls_lanczos_shift.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ using LinearAlgebra, Printf
function residuals(A, b, shifts, x)
nshifts = length(shifts)
r = [ A' * (A * x - b) + shifts[i] * x[i] for i = 1 : nshifts ]
r = [ A' * (A * x[i] - b) + shifts[i] * x[i] for i = 1 : nshifts ]
return r
end
ssmc = ssmc_db(verbose=false)
Expand Down

0 comments on commit bf3f1ef

Please sign in to comment.