Skip to content

Commit 0d864dc

Browse files
committed
add autoalg switching
1 parent 47a39e7 commit 0d864dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/verbosity.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ end
287287
mutable struct ODEPerformanceVerbosity
288288
alg_switch
289289

290-
@add_kwonly function ODEPerformanceVerbosity()
290+
@add_kwonly function ODEPerformanceVerbosity(alg_switch)
291291
new(alg_switch)
292292
end
293293
end
@@ -308,7 +308,7 @@ function ODEPerformanceVerbosity(verbose::Verbosity.Type)
308308
Verbosity.Error() => ODEPerformanceVerbosity(fill(
309309
Verbosity.Error(), length(fieldnames(ODEPerformanceVerbosity)))...)
310310

311-
Verbosity.Default() => ODEPerformanceVerbosity()
311+
Verbosity.Default() => ODEPerformanceVerbosity(alg_switch = Verbosity.None())
312312

313313
_ => @error "Not a valid choice for verbosity."
314314
end

0 commit comments

Comments
 (0)