Skip to content

Commit 64ebf5a

Browse files
add Krylov iteration count
1 parent 43111fc commit 64ebf5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)