Skip to content

Commit 50ae735

Browse files
avoid no size on HYPREVector
1 parent 84f7f04 commit 50ae735

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ext/LinearSolveHYPRE.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,9 @@ 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.build_linear_solution(alg, cache.u, resid, cache; iters)
204+
ret = SciMLBase.LinearSolution{T, N, typeof(cache.u), typeof(resid), typeof(alg),
205+
typeof(cache)}(cache.u, resid, alg, retc, iters, cache)
206+
205207
return ret
206208
end
207209

0 commit comments

Comments
 (0)