Skip to content

Commit 414aa55

Browse files
committed
Remove OrdinaryDiffEq from test environment, use smaller components
1 parent c101d0d commit 414aa55

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

test/Project.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,34 @@
11
[deps]
22
ChunkSplitters = "ae650224-84b6-46f8-82ea-d812ca08434e"
3+
CommonSolve = "38540f10-b2f7-11e9-35d8-d573e4eb0ff2"
34
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
45
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
56
GaussianRandomFields = "e4b2fa32-6e09-5554-b718-106ed5adafe9"
67
HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f"
78
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
89
MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195"
9-
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
10+
OrdinaryDiffEqTsit5 = "b1df2697-797e-41e3-8120-5422d3b24e4a"
1011
PDMats = "90014a1f-27ba-587c-ab20-58faa44d9150"
1112
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
13+
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
1214
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
1315
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1416
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1517
YAML = "ddb6d928-2868-570f-bddf-ab3f9cf99eb6"
1618

1719
[compat]
1820
ChunkSplitters = "3.1"
21+
CommonSolve = "0.2"
1922
DelimitedFiles = "<0.0.1, 1"
2023
Distributions = "0.22, 0.23, 0.24, 0.25"
2124
GaussianRandomFields = "2.2.1"
2225
HDF5 = "0.14, 0.15, 0.16, 0.17"
2326
LinearAlgebra = "<0.0.1, 1"
2427
MPI = "0.20.8"
25-
OrdinaryDiffEq = "6.40"
28+
OrdinaryDiffEqTsit5 = "1.5"
2629
PDMats = "0.11"
2730
Random = "<0.0.1, 1"
31+
SciMLBase = "2.124"
2832
StableRNGs = "1"
2933
Statistics = "<0.0.1, 1"
3034
Test = "<0.0.1, 1"

test/models/lorenz63.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ using Distributions
55
using HDF5
66
using Random
77
using PDMats
8-
using OrdinaryDiffEq
8+
using CommonSolve: CommonSolve
9+
using OrdinaryDiffEqTsit5: Tsit5
10+
using SciMLBase: ODEProblem
911
using ParticleDA
1012

1113
Base.@kwdef struct Lorenz63ModelParameters{S <: Real, T <: Real}
@@ -50,7 +52,7 @@ function init(
5052
parameters = get_params(Lorenz63ModelParameters{S, T}, parameters_dict)
5153
time_span = (0, parameters.time_step)
5254
integrators = [
53-
OrdinaryDiffEq.init(
55+
CommonSolve.init(
5456
ODEProblem(update_time_derivative!, u, time_span, parameters),
5557
Tsit5();
5658
save_everystep=false

0 commit comments

Comments
 (0)