Skip to content

Commit 7dd1617

Browse files
committed
Add verbose parameter to OrdinaryDiffEqNewmark alg_cache functions
This ensures backwards compatibility works for the Newmark sublibrary by adding the verbose parameter that the deprecated.jl wrapper passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent c532135 commit 7dd1617

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/OrdinaryDiffEqNewmark/src/newmark_caches.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function alg_cache(
1515
alg::NewmarkBeta, u, rate_prototype, ::Type{uEltypeNoUnits},
1616
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
1717
dt, reltol, p, calck,
18-
::Val{true}
18+
::Val{true}, verbose
1919
) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
2020
(; β, γ, thread) = alg
2121
fsalfirst = zero(rate_prototype)
@@ -57,7 +57,7 @@ function alg_cache(
5757
alg::NewmarkBeta, u, rate_prototype, ::Type{uEltypeNoUnits},
5858
::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t,
5959
dt, reltol, p, calck,
60-
::Val{false}
60+
::Val{false}, verbose
6161
) where {uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits}
6262
(; β, γ, thread) = alg
6363
fsalfirst = zero(rate_prototype)

0 commit comments

Comments
 (0)