Skip to content

Commit 3a03707

Browse files
committed
if verbose isa verbosity type, construct a LinearVerbosity from it
1 parent aa7088f commit 3a03707

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/common.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ function SciMLBase.init(prob::LinearProblem, alg::SciMLLinearSolveAlgorithm,
208208
else
209209
verbose = LinearVerbosity(Verbosity.None())
210210
end
211+
elseif verbose isa Verbosity.Type
212+
verbose = LinearVerbosity(verbose)
211213
end
212214

213215
b = if issparsematrix(b) && !(A isa Diagonal)

0 commit comments

Comments
 (0)