From a22fa5742816238ffc2f39b56a6e454b25dd8f3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= Date: Tue, 12 Mar 2024 17:02:13 +0000 Subject: [PATCH] Remove explicit dependency on `SciMLBase` --- test/Project.toml | 2 -- test/models/lorenz63.jl | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/test/Project.toml b/test/Project.toml index 7af64c3..d05f6c0 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -10,7 +10,6 @@ MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195" OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed" PDMats = "90014a1f-27ba-587c-ab20-58faa44d9150" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" -SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462" StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" @@ -23,7 +22,6 @@ GaussianRandomFields = "2.2.1" HDF5 = "0.14, 0.15, 0.16" MPI = "0.20.8" OrdinaryDiffEq = "6.40" -SciMLBase = "1.81" PDMats = "0.11" StableRNGs = "1" YAML = "0.4" diff --git a/test/models/lorenz63.jl b/test/models/lorenz63.jl index 338c112..ea9b1b8 100644 --- a/test/models/lorenz63.jl +++ b/test/models/lorenz63.jl @@ -7,7 +7,6 @@ using HDF5 using Random using PDMats using OrdinaryDiffEq -using SciMLBase using ParticleDA Base.@kwdef struct Lorenz63ModelParameters{S <: Real, T <: Real} @@ -27,9 +26,9 @@ function get_params( return P(; (; (Symbol(k) => v for (k, v) in model_params_dict)...)...) end -struct Lorenz63Model{S <: Real, T <: Real} +struct Lorenz63Model{S <: Real, T <: Real, I} parameters::Lorenz63ModelParameters{S, T} - integrators::Vector{<:SciMLBase.AbstractODEIntegrator} + integrators::Vector{I} initial_state_distribution::MvNormal{S} state_noise_distribution::MvNormal{S} observation_noise_distribution::MvNormal{T}