Skip to content

Commit 221a389

Browse files
add missing stats
1 parent 50ae735 commit 221a389

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/LinearSolveHYPRE.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,10 @@ function SciMLBase.solve(cache::LinearCache, alg::HYPREAlgorithm, args...; kwarg
200200
resid = HYPRE.GetFinalRelativeResidualNorm(hcache.solver)
201201
iters = Int(HYPRE.GetNumIterations(hcache.solver))
202202
retc = SciMLBase.ReturnCode.Default # TODO: Fetch from solver
203+
stats = nothing
203204

204205
ret = SciMLBase.LinearSolution{T, N, typeof(cache.u), typeof(resid), typeof(alg),
205-
typeof(cache)}(cache.u, resid, alg, retc, iters, cache)
206+
typeof(cache), typeof(stats)}(cache.u, resid, alg, retc, iters, cache, stats)
206207

207208
return ret
208209
end

0 commit comments

Comments
 (0)