Skip to content

Commit 0805386

Browse files
committed
add compat, fix types
1 parent efc53de commit 0805386

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ Reexport = "1"
110110
SafeTestsets = "0.1"
111111
SciMLBase = "2.70"
112112
SciMLOperators = "0.3.7, 0.4, 1"
113+
SciMLVerbosity = "1.0"
113114
Setfield = "1"
114115
SparseArrays = "1.10"
115116
Sparspak = "0.3.6"

src/simplegmres.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ function init_cacheval(alg::SimpleGMRES{UDB}, args...; kwargs...) where {UDB}
161161
end
162162

163163
function _init_cacheval(::Val{false}, alg::SimpleGMRES, A, b, u, Pl, Pr, maxiters::Int,
164-
abstol, reltol, ::Bool, ::OperatorAssumptions; zeroinit = true, kwargs...)
164+
abstol, reltol, ::LinearVerbosity, ::OperatorAssumptions; zeroinit = true, kwargs...)
165165
@unpack memory, restart, blocksize, warm_start = alg
166166

167167
if zeroinit
@@ -391,7 +391,7 @@ function SciMLBase.solve!(cache::SimpleGMRESCache{false}, lincache::LinearCache)
391391
end
392392

393393
function _init_cacheval(::Val{true}, alg::SimpleGMRES, A, b, u, Pl, Pr, maxiters::Int,
394-
abstol, reltol, ::Bool, ::OperatorAssumptions; zeroinit = true,
394+
abstol, reltol, ::LinearVerbosity, ::OperatorAssumptions; zeroinit = true,
395395
blocksize = alg.blocksize)
396396
@unpack memory, restart, warm_start = alg
397397

0 commit comments

Comments
 (0)