Skip to content

Commit fe5d876

Browse files
committed
fix init_cache verbosity
1 parent 2805a66 commit fe5d876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,12 +327,12 @@ function __init(prob::LinearProblem, alg::SciMLLinearSolveAlgorithm,
327327
if verbose isa Bool
328328
# @warn "Using `true` or `false` for `verbose` is being deprecated. Please use a `LinearVerbosity` type to specify verbosity settings.
329329
# For details see the verbosity section of the common solver options documentation page."
330-
init_cache_verb = verbose
331330
if verbose
332331
verbose_spec = LinearVerbosity()
333332
else
334333
verbose_spec = LinearVerbosity(SciMLLogging.None())
335334
end
335+
init_cache_verb = verbose_spec
336336
elseif verbose isa SciMLLogging.AbstractVerbosityPreset
337337
verbose_spec = LinearVerbosity(verbose)
338338
init_cache_verb = verbose_spec

0 commit comments

Comments
 (0)