Skip to content

Commit 546142e

Browse files
authored
Update alg_cache with verbosity toggle arg (#218)
1 parent 19a7c84 commit 546142e

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "TaylorIntegration"
22
uuid = "92b13dbe-c966-51a2-8445-caca9f8a7d42"
33
repo = "https://github.com/PerezHz/TaylorIntegration.jl.git"
4-
version = "0.18.1"
4+
version = "0.18.2"
55

66
[deps]
77
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"

ext/TaylorIntegrationDiffEqExt.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ module TaylorIntegrationDiffEqExt
55
using TaylorIntegration
66

77
using OrdinaryDiffEq:
8-
@cache,
98
ODEFunction,
109
DynamicalODEFunction,
1110
check_keywords,
1211
warn_compat,
1312
ODEProblem,
1413
DynamicalODEProblem
1514
using OrdinaryDiffEq.OrdinaryDiffEqCore
15+
using OrdinaryDiffEq.OrdinaryDiffEqCore: @cache
1616
import OrdinaryDiffEq
1717

1818
using StaticArrays: SVector, SizedArray
@@ -111,6 +111,7 @@ function ODEqCore.alg_cache(
111111
p,
112112
calck,
113113
::Val{true},
114+
::ODEqCore.DEVerbosity
114115
)
115116
order = alg.order
116117
tT = Taylor1(typeof(t), order)
@@ -152,6 +153,7 @@ function ODEqCore.alg_cache(
152153
p,
153154
calck,
154155
::Val{true},
156+
::ODEqCore.DEVerbosity
155157
)
156158
order = alg.order
157159
tT = Taylor1(typeof(t), order)
@@ -191,6 +193,7 @@ function ODEqCore.alg_cache(
191193
p,
192194
calck,
193195
::Val{false},
196+
::ODEqCore.DEVerbosity
194197
)
195198
order = alg.order
196199
tT = Taylor1(typeof(t), order)

test/common.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ using DiffEqBase
1212
local ODEqCore = OrdinaryDiffEq.OrdinaryDiffEqCore
1313
max_iters_reached() = "Maximum number of integration steps reached; exiting.\n"
1414
larger_maxiters_needed() =
15+
"Verbosity toggle: max_iters \n " *
1516
"Interrupted. Larger maxiters is needed. If you " *
1617
"are using an integrator for non-stiff ODEs or an automatic switching " *
1718
"algorithm (the default), you may want to consider using a method for " *

0 commit comments

Comments
 (0)