Skip to content

Commit 5753095

Browse files
fix HYPRE
1 parent 9ad0677 commit 5753095

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ext/LinearSolveHYPRE.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ using HYPRE.LibHYPRE: HYPRE_Complex
44
using HYPRE: HYPRE, HYPREMatrix, HYPRESolver, HYPREVector
55
using IterativeSolvers: Identity
66
using LinearSolve: HYPREAlgorithm, LinearCache, LinearProblem, LinearSolve,
7-
OperatorAssumptions, default_tol, init_cacheval, __issquare, set_cacheval
7+
OperatorAssumptions, default_tol, init_cacheval, __issquare,
8+
__conditioning, set_cacheval
89
using SciMLBase: LinearProblem, SciMLBase
910
using UnPack: @unpack
1011
using Setfield: @set!
@@ -82,7 +83,8 @@ function SciMLBase.init(prob::LinearProblem, alg::HYPREAlgorithm,
8283

8384
cache = LinearCache{
8485
typeof(A), typeof(b), typeof(u0), typeof(p), typeof(alg), Tc,
85-
typeof(Pl), typeof(Pr), typeof(reltol), __issquare(assumptions)
86+
typeof(Pl), typeof(Pr), typeof(reltol), __issquare(assumptions),
87+
__conditioning(assumptions),
8688
}(A, b, u0, p, alg, cacheval, isfresh, Pl, Pr, abstol, reltol,
8789
maxiters,
8890
verbose, assumptions)

0 commit comments

Comments
 (0)