Skip to content

Commit 473f3d0

Browse files
author
qyli
committed
fix typo
1 parent 31ab17c commit 473f3d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Algorithm/Lanczos/LanczosExp.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function LanczosExp(f::Function, x₀, t::NT, args...;
7373
rmul!(lsb[k+1], 1 / T[k, k+1])
7474

7575
# callback function here
76-
!isnothing(callback) && callback(x)
76+
!isnothing(callback) && callback(lsb[k+1])
7777

7878
# convergence check
7979
ϵ, V = eigen(T[1:k, 1:k])

src/Algorithm/Lanczos/LanczosGS.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function LanczosGS(f::Function, x₀, args...;
7070
rmul!(lsb[k+1], 1 / T[k, k+1])
7171

7272
# callback function here
73-
!isnothing(callback) && callback(x)
73+
!isnothing(callback) && callback(lsb[k+1])
7474

7575
# convergence check
7676
ϵ, V = eigen(T[1:k, 1:k])

0 commit comments

Comments
 (0)