Skip to content

Commit

Permalink
Remove useless dependency on DifferentialEquations (#236)
Browse files Browse the repository at this point in the history
`OrdinaryDiffEq` is enough, and it should save installation of a couple of
bigger packages.
  • Loading branch information
giordano authored Feb 28, 2023
1 parent c677e8d commit 619d887
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[deps]
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
GaussianRandomFields = "e4b2fa32-6e09-5554-b718-106ed5adafe9"
Expand All @@ -18,9 +17,13 @@ YAML = "ddb6d928-2868-570f-bddf-ab3f9cf99eb6"

[compat]
Distributions = "0.22, 0.23, 0.24, 0.25"
FillArrays = "0.13"
GaussianRandomFields = "2.1.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"
julia = "1.7"
4 changes: 2 additions & 2 deletions test/models/lorenz63.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ using FillArrays
using HDF5
using Random
using PDMats
using DifferentialEquations
using OrdinaryDiffEq
using SciMLBase
using ParticleDA

Expand Down Expand Up @@ -47,7 +47,7 @@ function init(parameters_dict::Dict; S::Type{<:Real}=Float64, T::Type{<:Real}=Fl
parameters = get_params(Lorenz63ModelParameters{S, T}, parameters_dict)
time_span = (0, parameters.time_step)
integrators = [
DifferentialEquations.init(
OrdinaryDiffEq.init(
ODEProblem(update_time_derivative!, u, time_span, parameters),
Tsit5();
save_everystep=false
Expand Down

0 comments on commit 619d887

Please sign in to comment.