Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Aug 7, 2024
1 parent 0115a4b commit 6562947
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/OrdinaryDiffEq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ using Reexport
@reexport using DiffEqBase

import OrdinaryDiffEqCore: trivial_limiter!, CompositeAlgorithm, alg_order, ShampineCollocationInit, BrownBasicInit
export CompositeAlgorithm, ShampineCollocationInit, BrownBasicInit
export CompositeAlgorithm, ShampineCollocationInit, BrownFullBasicInit

import OrdinaryDiffEqDifferentiation
using OrdinaryDiffEqDifferentiation: _alg_autodiff, resize_grad_config!, dolinsolve, wrapprecs, UJacobianWrapper, build_jac_config, WOperator, FirstAutodiffJacError, calc_J!, calc_W!, calc_J, calc_W, jacobian2W!
Expand Down
3 changes: 2 additions & 1 deletion test/integrators/ode_cache_tests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using OrdinaryDiffEq, OrdinaryDiffEqCore, DiffEqBase, Test
using Random, SparseDiffTools
using OrdinaryDiffEqDefault
using ElasticArrays, LinearSolve
Random.seed!(213)
CACHE_TEST_ALGS = [Euler(), Midpoint(), RK4(), SSPRK22(), SSPRK33(), SSPRK43(), SSPRK104(),
Expand All @@ -8,7 +9,7 @@ CACHE_TEST_ALGS = [Euler(), Midpoint(), RK4(), SSPRK22(), SSPRK33(), SSPRK43(),
BS3(), BS5(), DP5(), DP8(), Feagin10(), Feagin12(), Feagin14(), TanYam7(),
Tsit5(), TsitPap8(), Vern6(), Vern7(), Vern8(), Vern9(), OwrenZen3(), OwrenZen4(),
OwrenZen5(), AutoTsit5(Rosenbrock23()), TRBDF2(), KenCarp4(), ABDF2(),
OrdinaryDiffEqCore.DefaultODEAlgorithm()]
OrdinaryDiffEqDefault.DefaultODEAlgorithm()]
broken_CACHE_TEST_ALGS = [
QNDF(),
ExtrapolationMidpointHairerWanner(),
Expand Down
6 changes: 3 additions & 3 deletions test/interface/autodiff_error_tests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using OrdinaryDiffEq, Test
using OrdinaryDiffEqCore
using OrdinaryDiffEqDifferentiation

const a = Float64[1.0]

Expand All @@ -13,7 +13,7 @@ end
u0 = [1.0; 0.0; 0.0]
tspan = (0.0, 1.0)
prob = ODEProblem(lorenz, u0, tspan)
@test_throws OrdinaryDiffEqCore.OrdinaryDiffEqDifferentiation.FirstAutodiffJacError solve(prob, Rosenbrock23())
@test_throws OrdinaryDiffEqDifferentiation.FirstAutodiffJacError solve(prob, Rosenbrock23())

function lorenz(u, p, t)
du1 = 10.0(u[2] - u[1])
Expand All @@ -22,7 +22,7 @@ function lorenz(u, p, t)
du3 = u[1] * u[2] - (8 / 3) * u[3]
[du1, du2, du3]
end
@test_throws OrdinaryDiffEqCore.OrdinaryDiffEqDifferentiation.FirstAutodiffTgradError solve(prob, Rosenbrock23())
@test_throws OrdinaryDiffEqDifferentiation.FirstAutodiffTgradError solve(prob, Rosenbrock23())

function lorenz!(du, u, p, t)
du[1] = 10.0(u[2] - u[1])
Expand Down
1 change: 1 addition & 0 deletions test/interface/dae_initialize_integration.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using ModelingToolkit, OrdinaryDiffEq, Test
using

@parameters t g e b
@variables v(t) w(t) F(t)
Expand Down

0 comments on commit 6562947

Please sign in to comment.