Skip to content

Commit 0b804aa

Browse files
committed
fix _init_cacheval
1 parent cca2e78 commit 0b804aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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
@@ -392,7 +392,7 @@ function SciMLBase.solve!(cache::SimpleGMRESCache{false}, lincache::LinearCache)
392392
end
393393

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

0 commit comments

Comments
 (0)