Skip to content

Commit f0fadbe

Browse files
Merge pull request #98 from SciML/krylov_iter
add Krylov iteration count
2 parents 43111fc + 91b8c0e commit f0fadbe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ArrayInterface = "3, 4"
2525
DocStringExtensions = "0.8"
2626
IterativeSolvers = "0.9.2"
2727
KLU = "0.2.3"
28-
Krylov = "0.7.9"
28+
Krylov = "0.7.11"
2929
KrylovKit = "0.5"
3030
RecursiveFactorization = "0.2.8"
3131
Reexport = "1"

src/iterative_wrappers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function SciMLBase.solve(cache::LinearCache, alg::KrylovJL; kwargs...)
134134
Krylov.solve!(args...; kwargs...)
135135
end
136136

137-
return SciMLBase.build_linear_solution(alg,cache.u,nothing,cache)
137+
return SciMLBase.build_linear_solution(alg,cache.u,Krylov.Aprod(cache.cacheval),cache)
138138
end
139139

140140
## IterativeSolvers.jl

0 commit comments

Comments
 (0)