Skip to content

Commit 790bb15

Browse files
committed
use ODEVerbosity in build_nlsolver for inference tests
1 parent c0c7b80 commit 790bb15

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using OrdinaryDiffEqBDF, ADTypes, Test
22
using NonlinearSolve: TrustRegion
33
import OrdinaryDiffEqCore.SciMLLogging as SciMLLogging
4+
using OrdinaryDiffEqCore: ODEVerbosity
45

56
prob = ODEProblem((du, u, p, t) -> du .= u, zeros(1), (0.0, 1.0))
67
nlalg = FBDF(autodiff = false,
@@ -10,10 +11,10 @@ basicalgad = FBDF()
1011

1112
nlsolver = @inferred OrdinaryDiffEqBDF.build_nlsolver(
1213
basicalg, prob.u0, prob.u0, prob.p, 0.0, 0.0, prob.f, prob.u0, Float64,
13-
Float64, Float64, 0.0, 0.0, Val(true), SciMLLogging.Standard())
14+
Float64, Float64, 0.0, 0.0, Val(true), ODEVerbosity())
1415
nlsolver = @inferred OrdinaryDiffEqBDF.build_nlsolver(
1516
nlalg, prob.u0, prob.u0, prob.p, 0.0, 0.0, prob.f, prob.u0, Float64,
16-
Float64, Float64, 0.0, 0.0, Val(true), SciMLLogging.Standard())
17+
Float64, Float64, 0.0, 0.0, Val(true), ODEVerbosity())
1718
nlsolver = @test_throws Any @inferred OrdinaryDiffEqBDF.build_nlsolver(
1819
basicalgad, prob.u0, prob.u0, prob.p, 0.0, 0.0, prob.f, prob.u0, Float64,
19-
Float64, Float64, 0.0, 0.0, Val(true), SciMLLogging.Standard())
20+
Float64, Float64, 0.0, 0.0, Val(true), ODEVerbosity())

0 commit comments

Comments
 (0)