Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
541fee5
add verbosity types
jClugstor Jul 31, 2025
b025a1d
add imports
jClugstor Jul 31, 2025
1db889b
unrestrict types
jClugstor Jul 31, 2025
e3ff96c
ensure backwards compat
jClugstor Aug 1, 2025
11dc7c8
add SciMLMessage messages
jClugstor Aug 1, 2025
833e0c3
make constructors use kwargs
jClugstor Aug 1, 2025
c786427
add AbstractVerbositySpecifier
jClugstor Aug 1, 2025
88304bb
add SciMLMessage imports
jClugstor Aug 1, 2025
c77b04f
refactor ODEVerbosity
jClugstor Oct 20, 2025
78d200f
update macro usage
jClugstor Oct 20, 2025
46915a7
rearrange
jClugstor Oct 21, 2025
b659f3c
add verbosity tests
jClugstor Oct 21, 2025
8019fd3
imports and fixes for verbosity
jClugstor Oct 22, 2025
cd4ef52
set linear verbosity to Minimal
jClugstor Oct 22, 2025
7b7d44f
set Nonlinear verbosity to Minimal
jClugstor Oct 22, 2025
ca4321d
fix imports
jClugstor Oct 22, 2025
925c897
add verbosity options for the warnings in SciMLBase check_errors
jClugstor Oct 22, 2025
f48015f
remove bad getproperty
jClugstor Oct 24, 2025
297711a
Update Project.toml
ChrisRackauckas Oct 29, 2025
a06c3f4
Update Project.toml
ChrisRackauckas Oct 29, 2025
754c9e2
make ODEVerbosity concrete in DEOptions
jClugstor Nov 4, 2025
af27530
add manual page for verbosity
jClugstor Nov 4, 2025
87c6bf6
fix DEOptions constructor
jClugstor Nov 4, 2025
ae41ff9
add verbose as argument to all alg_cache
jClugstor Nov 5, 2025
9bafaac
thread verbose in to build_nlsolver
jClugstor Nov 5, 2025
51eec0a
fix verbose for default caches
jClugstor Nov 5, 2025
b14b7f0
fix up some verbosity and linear verbosity
jClugstor Nov 5, 2025
cbc826f
add test for nonlinearsolve verbosity passthrough
jClugstor Nov 5, 2025
fd17a3d
fix check_error test
jClugstor Nov 5, 2025
99d2895
fix sources for ExponentialRK Tsit5
jClugstor Nov 5, 2025
7b86b50
fix test source for OrdinaryDiffEqRosenbrock for ODELinear
jClugstor Nov 5, 2025
282b258
fix source of OrdinaryDiffEqSDIRK for OrdinaryDiffEqNonlinearSolve
jClugstor Nov 5, 2025
8848e54
fix source of OrdinaryDiffEqTsit5 for OrdinaryDiffEqSymplecticRK
jClugstor Nov 5, 2025
68ba61c
fix source of SDIRK for ImplicitDiscreteSolve
jClugstor Nov 5, 2025
72b54e4
remove unused @SciMLMessage in OrdinaryDiffEqBDF
jClugstor Nov 5, 2025
daf251e
fix source of OrdinaryDiffEqRKN for OrdinaryDiffEqBDF
jClugstor Nov 5, 2025
3e8974b
add several verbosity toggles
jClugstor Nov 5, 2025
0331eaf
add several verbosity toggles
jClugstor Nov 5, 2025
ffa76ac
fix the None constructor
jClugstor Nov 5, 2025
4c693e9
add stiff detection toggle
jClugstor Nov 6, 2025
5da1213
add instability toggle back for SciMLBase
jClugstor Nov 6, 2025
91507f1
use lazy strings for interpolation
jClugstor Nov 6, 2025
1069414
fix step rejected message
jClugstor Nov 6, 2025
6c2922a
remove unused SciMLMessages
jClugstor Nov 6, 2025
1cf96f9
fix generic rosenbrock caches
jClugstor Nov 6, 2025
5d28fa1
back compat for DelayDiffEq
jClugstor Nov 6, 2025
bff9195
use nonlinear verbosity in _initialize_dae!
jClugstor Nov 6, 2025
5e06ae0
remove bad backwards compat
jClugstor Nov 6, 2025
cb59313
backwards compat for stochasticdiffeq and delaydiffeq
jClugstor Nov 6, 2025
b5b4316
move deprecated alg_cache and build_nlsolver to deprecated files
jClugstor Nov 6, 2025
01b1776
remove message in loopheader so Delay and StochasticDiffEq work
jClugstor Nov 7, 2025
74e1ccb
add another dep path for oop
jClugstor Nov 7, 2025
a9d1b67
put loopheader messages back
jClugstor Nov 7, 2025
5883ad0
fix alg_cache for CG4a
jClugstor Nov 10, 2025
77fedf5
inferrable default path, make grouping more inferrable
jClugstor Nov 12, 2025
e61aad8
use multiple dispatch for handling verbose kwarg
jClugstor Nov 13, 2025
8afdaf4
add generated path for ODEVerbosity constructor
jClugstor Nov 13, 2025
de47e46
fix up the verbosity tests
jClugstor Nov 13, 2025
3b57733
add verbosity JET tests, make sure verbosity tests are in runtests
jClugstor Nov 17, 2025
cf65901
fix unlimited_dt factor message to give all information
jClugstor Nov 17, 2025
f274bf5
make sure JET is a test dep with correct versioning
jClugstor Nov 17, 2025
d7a6cfc
use sources for modelingtoolkit tests
jClugstor Nov 17, 2025
773e4aa
use correct lib sources
jClugstor Nov 17, 2025
2239c89
remove method ambiguity for GC4
jClugstor Nov 17, 2025
a09cd31
use verbosity specifier generator macro
jClugstor Dec 10, 2025
0b5eeb5
fix compats for precompile tools
jClugstor Dec 17, 2025
8973156
fix BDF test import
jClugstor Dec 17, 2025
41c04bf
add verbose argument to RKIP alg_cache
jClugstor Dec 17, 2025
5353427
add missing verbose kwarg label
jClugstor Dec 17, 2025
19b9609
use ODEVerbosity in build_nlsolver for inference tests
jClugstor Dec 18, 2025
2dd5574
make sure verbose gets passed to reinit
jClugstor Dec 23, 2025
aac679a
add sensitivity_vjp_choice verbosity toggle
jClugstor Dec 23, 2025
24113fd
Update Project.toml
ChrisRackauckas Dec 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ FiniteDiff = "2.27"
ForwardDiff = "0.10.38, 1"
FunctionWrappersWrappers = "0.1.3"
InteractiveUtils = "1.9"
JET = "0.9.18, 0.11.0"
JLArrays = "0.2"
LineSearches = "7.4"
LinearAlgebra = "1.9"
Expand Down Expand Up @@ -189,6 +190,7 @@ DifferentiationInterface = "a0c0ee7d-e4b9-4e03-894e-1c5f64a51d63"
ElasticArrays = "fdbdab4c-e67f-52f5-8c3f-e7b388dad3d4"
ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7"
IncompleteLU = "40713840-3770-5561-ab4c-a76e7d0d7895"
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
JLArrays = "27aeb0d3-9eb9-45fb-866b-73c2ecf80fcb"
ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
NLsolve = "2774e3e8-f4cf-5e23-947b-6d7e65073b56"
Expand All @@ -206,4 +208,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"

[targets]
test = ["ComponentArrays", "AlgebraicMultigrid", "IncompleteLU", "DiffEqCallbacks", "DifferentiationInterface", "DiffEqDevTools", "ExplicitImports", "ODEProblemLibrary", "ElasticArrays", "JLArrays", "Random", "SafeTestsets", "StructArrays", "Test", "Unitful", "Pkg", "NLsolve", "RecursiveFactorization", "SparseConnectivityTracer", "SparseMatrixColorings", "Statistics"]
test = ["ComponentArrays", "AlgebraicMultigrid", "IncompleteLU", "DiffEqCallbacks", "DifferentiationInterface", "DiffEqDevTools", "ExplicitImports", "ODEProblemLibrary", "ElasticArrays", "JET", "JLArrays", "Random", "SafeTestsets", "StructArrays", "Test", "Unitful", "Pkg", "NLsolve", "RecursiveFactorization", "SparseConnectivityTracer", "SparseMatrixColorings", "Statistics"]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JET tests should be in the no-pre setting

9 changes: 9 additions & 0 deletions docs/src/verbosity.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Controlling Solver Verbosity
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DiffEqDocs needs a PR that explains it in more detail how it's a solver-package specific thing.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually it makes it a bit rough for it to be solver-specific... since then you cannot do things in benchmarks and optimization more generally.


OrdinaryDiffEq.jl provides fine-grained control over diagnostic messages, warnings, and errors
through the `verbose` keyword argument for `solve`. The verbosity system allows you to control what
information is displayed during the solve process. See [SciMLLogging.jl](https://docs.sciml.ai/SciMLLogging/dev/) for more details.

```@docs
ODEVerbosity
```
4 changes: 2 additions & 2 deletions lib/ImplicitDiscreteSolve/src/cache.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ end
function alg_cache(alg::IDSolve, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{true}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{true}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
state = ImplicitDiscreteState(isnothing(u) ? nothing : zero(u), p, t)
f_nl = (resid, u_next, p) -> f(resid, u_next, p.u, p.p, p.t)

Expand All @@ -40,7 +40,7 @@ isdiscretecache(cache::IDSolveCache) = true
function alg_cache(alg::IDSolve, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{false}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{false}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
@assert !isnothing(u) "Empty u not supported with out of place functions yet."

state = ImplicitDiscreteState(isnothing(u) ? nothing : zero(u), p, t)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import OrdinaryDiffEqCore: OrdinaryDiffEqMutableCache, OrdinaryDiffEqConstantCac
trivial_limiter!, get_fsalfirstlast,
generic_solver_docstring,
full_cache,
_bool_to_ADType
_bool_to_ADType, @SciMLMessage
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem right? It's defined in SciMLLogging.jl??????

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it better to have SciMLLogging as a direct dep?

import OrdinaryDiffEqLowOrderRK: BS3ConstantCache, BS3Cache, RK4ConstantCache, RK4Cache
import RecursiveArrayTools: recursivefill!
using MuladdMacro, FastBroadcast
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ end
function alg_cache(alg::AB3, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{true}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{true}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
fsalfirst = zero(rate_prototype)
k2 = zero(rate_prototype)
k3 = zero(rate_prototype)
Expand All @@ -39,7 +39,7 @@ end
function alg_cache(alg::AB3, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{false}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{false}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
k2 = rate_prototype
k3 = rate_prototype
AB3ConstantCache(k2, k3, 1)
Expand Down Expand Up @@ -67,7 +67,7 @@ end
function alg_cache(alg::ABM32, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{true}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{true}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
fsalfirst = zero(rate_prototype)
k2 = zero(rate_prototype)
k3 = zero(rate_prototype)
Expand All @@ -80,7 +80,7 @@ end
function alg_cache(alg::ABM32, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{false}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{false}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
k2 = rate_prototype
k3 = rate_prototype
ABM32ConstantCache(k2, k3, 1)
Expand Down Expand Up @@ -113,7 +113,7 @@ end
function alg_cache(alg::AB4, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{true}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{true}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
fsalfirst = zero(rate_prototype)
k2 = zero(rate_prototype)
k3 = zero(rate_prototype)
Expand All @@ -130,7 +130,7 @@ end
function alg_cache(alg::AB4, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{false}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{false}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
k2 = rate_prototype
k3 = rate_prototype
k4 = rate_prototype
Expand Down Expand Up @@ -167,7 +167,7 @@ end
function alg_cache(alg::ABM43, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{true}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{true}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
fsalfirst = zero(rate_prototype)
k2 = zero(rate_prototype)
k3 = zero(rate_prototype)
Expand All @@ -188,7 +188,7 @@ end
function alg_cache(alg::ABM43, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{false}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{false}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
k2 = rate_prototype
k3 = rate_prototype
k4 = rate_prototype
Expand Down Expand Up @@ -223,7 +223,7 @@ end
function alg_cache(alg::AB5, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{true}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{true}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
fsalfirst = zero(rate_prototype)
k2 = zero(rate_prototype)
k3 = zero(rate_prototype)
Expand All @@ -240,7 +240,7 @@ end
function alg_cache(alg::AB5, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{false}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{false}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
k2 = rate_prototype
k3 = rate_prototype
k4 = rate_prototype
Expand Down Expand Up @@ -280,7 +280,7 @@ end
function alg_cache(alg::ABM54, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{true}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{true}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
fsalfirst = zero(rate_prototype)
k2 = zero(rate_prototype)
k3 = zero(rate_prototype)
Expand All @@ -302,7 +302,7 @@ end
function alg_cache(alg::ABM54, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{false}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{false}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
k2 = rate_prototype
k3 = rate_prototype
k4 = rate_prototype
Expand Down Expand Up @@ -351,7 +351,7 @@ end
function alg_cache(alg::VCAB3, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{false}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{false}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
dts = fill(zero(dt), 3)
c = fill(zero(t), 3, 3)
g = fill(zero(t), 3)
Expand All @@ -372,7 +372,7 @@ end
function alg_cache(alg::VCAB3, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{true}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{true}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
tab = BS3ConstantCache(constvalue(uBottomEltypeNoUnits), constvalue(tTypeNoUnits))
bk1 = zero(rate_prototype)
bk2 = zero(rate_prototype)
Expand Down Expand Up @@ -447,7 +447,7 @@ end
function alg_cache(alg::VCAB4, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{false}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{false}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
dts = fill(zero(dt), 4)
c = fill(zero(t), 4, 4)
g = fill(zero(t), 4)
Expand All @@ -468,7 +468,7 @@ end
function alg_cache(alg::VCAB4, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{true}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{true}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
rk1 = zero(rate_prototype)
rk2 = zero(rate_prototype)
rk3 = zero(rate_prototype)
Expand Down Expand Up @@ -544,7 +544,7 @@ end
function alg_cache(alg::VCAB5, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{false}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{false}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
dts = fill(zero(dt), 5)
c = fill(zero(t), 5, 5)
g = fill(zero(t), 5)
Expand All @@ -565,7 +565,7 @@ end
function alg_cache(alg::VCAB5, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{true}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{true}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
rk1 = zero(rate_prototype)
rk2 = zero(rate_prototype)
rk3 = zero(rate_prototype)
Expand Down Expand Up @@ -645,7 +645,7 @@ end
function alg_cache(alg::VCABM3, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{false}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{false}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
dts = fill(zero(dt), 3)
c = fill(zero(t), 4, 4)
g = fill(zero(t), 4)
Expand All @@ -667,7 +667,7 @@ end
function alg_cache(alg::VCABM3, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{true}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{true}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
tab = BS3ConstantCache(constvalue(uBottomEltypeNoUnits), constvalue(tTypeNoUnits))
bk1 = zero(rate_prototype)
bk2 = zero(rate_prototype)
Expand Down Expand Up @@ -751,7 +751,7 @@ end
function alg_cache(alg::VCABM4, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{false}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{false}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
dts = fill(zero(dt), 4)
c = fill(zero(t), 5, 5)
g = fill(zero(t), 5)
Expand All @@ -774,7 +774,7 @@ end
function alg_cache(alg::VCABM4, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{true}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{true}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
rk1 = zero(rate_prototype)
rk2 = zero(rate_prototype)
rk3 = zero(rate_prototype)
Expand Down Expand Up @@ -857,7 +857,7 @@ end
function alg_cache(alg::VCABM5, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{false}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{false}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
dts = fill(zero(t), 5)
c = fill(zero(t), 6, 6)
g = fill(zero(t), 6)
Expand All @@ -880,7 +880,7 @@ end
function alg_cache(alg::VCABM5, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{true}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{true}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
rk1 = zero(rate_prototype)
rk2 = zero(rate_prototype)
rk3 = zero(rate_prototype)
Expand Down Expand Up @@ -972,7 +972,7 @@ end
function alg_cache(alg::VCABM, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{false}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{false}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
dts = fill(zero(dt), 13)
c = fill(zero(t), 13, 13)
g = fill(zero(t), 13)
Expand All @@ -997,7 +997,7 @@ end
function alg_cache(alg::VCABM, u, rate_prototype, ::Type{uEltypeNoUnits},
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
dt, reltol, p, calck,
::Val{true}) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
::Val{true}, verbose) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
fsalfirst = zero(rate_prototype)
k4 = zero(rate_prototype)
dts = fill(zero(dt), 13)
Expand Down
Loading
Loading