Skip to content

Commit 1eeebd0

Browse files
authored
Update iterative_wrappers.jl
fix #140
1 parent 7bf7c75 commit 1eeebd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/iterative_wrappers.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ function SciMLBase.solve(cache::LinearCache, alg::KrylovJL; kwargs...)
159159
Krylov.solve!(args...; kwargs...)
160160
end
161161

162-
return SciMLBase.build_linear_solution(alg, cache.u, Krylov.Aprod(cache.cacheval),
163-
cache)
162+
return SciMLBase.build_linear_solution(alg, cache.u, nothing, cache;
163+
iters=Krylov.Aprod(cache.cacheval))
164164
end
165165

166166
## IterativeSolvers.jl

0 commit comments

Comments
 (0)