diff --git a/ext/LinearSolveHYPREExt.jl b/ext/LinearSolveHYPREExt.jl index cef49b7a8..fe3cda8a9 100644 --- a/ext/LinearSolveHYPREExt.jl +++ b/ext/LinearSolveHYPREExt.jl @@ -68,6 +68,7 @@ function SciMLBase.init(prob::LinearProblem, alg::HYPREAlgorithm, Pl = LinearAlgebra.I, Pr = LinearAlgebra.I, assumptions = OperatorAssumptions(), + sensealg = LinearSolveAdjoint(), kwargs...) @unpack A, b, u0, p = prob @@ -89,10 +90,9 @@ function SciMLBase.init(prob::LinearProblem, alg::HYPREAlgorithm, cache = LinearCache{ typeof(A), typeof(b), typeof(u0), typeof(p), typeof(alg), Tc, typeof(Pl), typeof(Pr), typeof(reltol), - typeof(__issquare(assumptions)) + typeof(__issquare(assumptions), typeof(sensealg)) }(A, b, u0, p, alg, cacheval, isfresh, Pl, Pr, abstol, reltol, - maxiters, - verbose, assumptions) + maxiters, verbose, assumptions, sensealg) return cache end