Skip to content

Commit 049e212

Browse files
committed
add compat, fix types
1 parent 6702684 commit 049e212

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
@@ -109,6 +109,7 @@ Reexport = "1"
109109
SafeTestsets = "0.1"
110110
SciMLBase = "2.70"
111111
SciMLOperators = "0.3.7, 0.4, 1"
112+
SciMLVerbosity = "1.0"
112113
Setfield = "1"
113114
SparseArrays = "1.10"
114115
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)