Skip to content

Commit abd2c69

Browse files
committed
actually fix OrdinaryDiffEqBDF tests
1 parent 672eeac commit abd2c69

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

lib/OrdinaryDiffEqBDF/Project.toml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@ uuid = "6ad6398a-0878-4a85-9266-38940aa047c8"
33
authors = ["ParamThakkar123 <paramthakkar864@gmail.com>"]
44
version = "1.5.1"
55

6-
[sources]
7-
OrdinaryDiffEqCore = {path = "../OrdinaryDiffEqCore"}
8-
OrdinaryDiffEqDifferentiation = {path = "../OrdinaryDiffEqDifferentiation"}
9-
OrdinaryDiffEqNonlinearSolve = {path = "../OrdinaryDiffEqNonlinearSolve"}
10-
OrdinaryDiffEqSDIRK = {path = "../OrdinaryDiffEqSDIRK"}
11-
126
[deps]
137
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
148
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
@@ -28,14 +22,22 @@ Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
2822
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
2923
TruncatedStacktraces = "781d530d-4396-4725-bb49-402e4bee1e77"
3024

25+
[sources]
26+
OrdinaryDiffEqCore = {path = "../OrdinaryDiffEqCore"}
27+
OrdinaryDiffEqDifferentiation = {path = "../OrdinaryDiffEqDifferentiation"}
28+
OrdinaryDiffEqNonlinearSolve = {path = "../OrdinaryDiffEqNonlinearSolve"}
29+
OrdinaryDiffEqSDIRK = {path = "../OrdinaryDiffEqSDIRK"}
30+
3131
[compat]
3232
ADTypes = "1.11"
33+
Aqua = "0.8.11"
3334
ArrayInterface = "7.15.0"
3435
DiffEqBase = "6.152.2"
3536
DiffEqDevTools = "2.44.4"
3637
Enzyme = "0.13"
3738
FastBroadcast = "0.3.5"
3839
ForwardDiff = "0.10.36, 1"
40+
JET = "0.9.18, 0.10.4"
3941
LinearAlgebra = "<0.0.1, 1"
4042
LinearSolve = "2.32, 3"
4143
MacroTools = "0.5.13"
@@ -45,6 +47,7 @@ OrdinaryDiffEqCore = "1.21"
4547
OrdinaryDiffEqDifferentiation = "1.5"
4648
OrdinaryDiffEqNonlinearSolve = "1.6"
4749
OrdinaryDiffEqSDIRK = "1.3"
50+
NonlinearSolve = "4"
4851
PrecompileTools = "1.2.1"
4952
Preferences = "1.4.3"
5053
Random = "<0.0.1, 1"
@@ -55,21 +58,20 @@ StaticArrays = "1.9.7"
5558
Test = "<0.0.1, 1"
5659
TruncatedStacktraces = "1.4.0"
5760
julia = "1.10"
58-
JET = "0.9.18, 0.10.4"
59-
Aqua = "0.8.11"
6061

6162
[extras]
63+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
6264
DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d"
6365
Enzyme = "7da242da-08ed-463a-9acd-ee780be4f1d9"
6466
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
67+
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
6568
LinearSolve = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
69+
NonlinearSolve = "8913a72c-1f9b-4ce2-8d82-65094dcecaec"
6670
ODEProblemLibrary = "fdc4e326-1af4-4b90-96e7-779fcce2daa5"
6771
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
6872
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
6973
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
7074
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
71-
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
72-
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
7375

7476
[targets]
75-
test = ["DiffEqDevTools", "ForwardDiff", "Random", "SafeTestsets", "Test", "ODEProblemLibrary", "StaticArrays", "Enzyme", "LinearSolve", "JET", "Aqua"]
77+
test = ["DiffEqDevTools", "ForwardDiff", "Random", "SafeTestsets", "Test", "ODEProblemLibrary", "NonlinearSolve", "StaticArrays", "Enzyme", "LinearSolve", "JET", "Aqua"]

lib/OrdinaryDiffEqBDF/test/inference_tests.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using OrdinaryDiffEqBDF, Test
1+
using OrdinaryDiffEqBDF, ADTypes, Test
2+
using NonlinearSolve: TrustRegion
23

34
prob = ODEProblem((du,u,p,t) -> du .= u, zeros(1), (0.0,1.0))
45
nlalg = FBDF(autodiff=false, nlsolve = OrdinaryDiffEqBDF.NonlinearSolveAlg(TrustRegion(autodiff = AutoFiniteDiff())))

0 commit comments

Comments
 (0)