Skip to content

Commit 700758d

Browse files
fix solution building
1 parent 7958c39 commit 700758d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ext/LinearSolveHYPRE.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,7 @@ function SciMLBase.solve(cache::LinearCache, alg::HYPREAlgorithm, args...; kwarg
201201
iters = Int(HYPRE.GetNumIterations(hcache.solver))
202202
retc = SciMLBase.ReturnCode.Default # TODO: Fetch from solver
203203

204-
ret = SciMLBase.LinearSolution{T, N, typeof(cache.u), typeof(resid), typeof(alg),
205-
typeof(cache)}(cache.u, resid, alg, retc, iters, cache)
206-
204+
ret = build_linear_solution(alg, cache.u, resid, cache; iters)
207205
return ret
208206
end
209207

0 commit comments

Comments
 (0)