Skip to content

Commit b2acbbe

Browse files
committed
Load ForwardDiff to make this work
1 parent dd0b137 commit b2acbbe

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

test/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
33
ChunkSplitters = "ae650224-84b6-46f8-82ea-d812ca08434e"
44
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
55
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
6+
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
67
GaussianRandomFields = "e4b2fa32-6e09-5554-b718-106ed5adafe9"
78
HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f"
89
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
@@ -20,6 +21,7 @@ Aqua = "0.8"
2021
ChunkSplitters = "3.1"
2122
DelimitedFiles = "<0.0.1, 1"
2223
Distributions = "0.22, 0.23, 0.24, 0.25"
24+
ForwardDiff = "1.2"
2325
GaussianRandomFields = "2.2.1"
2426
HDF5 = "0.14, 0.15, 0.16, 0.17"
2527
LinearAlgebra = "<0.0.1, 1"

test/models/lorenz63.jl

Lines changed: 3 additions & 1 deletion
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 OrdinaryDiffEqTsit5: OrdinaryDiffEqTsit5, Tsit5, ODEProblem
8+
# `ForwardDiff` is only needed to trigger loading a pkgextension.
9+
import ForwardDiff as _
10+
using OrdinaryDiffEqTsit5: OrdinaryDiffEqTsit5, Tsit5, ODEProblem, reinit!, step!
911
using ParticleDA
1012

1113
Base.@kwdef struct Lorenz63ModelParameters{S <: Real, T <: Real}

0 commit comments

Comments
 (0)