Skip to content

Commit d9ebeb9

Browse files
Merge pull request #1157 from SciML/ChrisRackauckas-patch-6
Simplify tests for pre
2 parents 71c9dfb + c8fd01c commit d9ebeb9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Project.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ LabelledArrays = "2ee39098-c373-598a-b85f-a56591580800"
124124
Measurements = "eff96d63-e80a-5855-80a2-b1b0885c5ab7"
125125
MonteCarloMeasurements = "0987c9cc-fe09-11e8-30f0-b96dd679fdca"
126126
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
127-
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
128127
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
129128
ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
130129
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
@@ -136,4 +135,4 @@ Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
136135
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
137136

138137
[targets]
139-
test = ["Distributed", "Measurements", "MonteCarloMeasurements", "Unitful", "LabelledArrays", "ForwardDiff", "SparseArrays", "InteractiveUtils", "Plots", "Pkg", "Random", "ReverseDiff", "StaticArrays", "SafeTestsets", "Statistics", "Test", "Distributions", "Aqua", "BenchmarkTools"]
138+
test = ["Distributed", "Measurements", "MonteCarloMeasurements", "Unitful", "LabelledArrays", "ForwardDiff", "SparseArrays", "InteractiveUtils", "Pkg", "Random", "ReverseDiff", "StaticArrays", "SafeTestsets", "Statistics", "Test", "Distributions", "Aqua", "BenchmarkTools"]

test/forwarddiff_dual_detection.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using DiffEqBase, ForwardDiff, Test, InteractiveUtils
22
using ReverseDiff, SciMLStructures
3-
using Plots
43

54
u0 = 2.0
65
p = 2.0
@@ -36,7 +35,7 @@ p_possibilities = [ForwardDiff.Dual(2.0), (ForwardDiff.Dual(2.0), 2.0),
3635
(; x = 2.0, y = [ForwardDiff.Dual(2.0)]), (; x = 2.0, y = [[ForwardDiff.Dual(2.0)]]),
3736
Set([2.0, ForwardDiff.Dual(2.0)]), (SciMLBase.NullParameters(), ForwardDiff.Dual(2.0)),
3837
((), ForwardDiff.Dual(2.0)), ForwardDiff.Dual{Nothing}(ForwardDiff.Dual{MyStruct}(2.0)),
39-
(plot(), ForwardDiff.Dual(2.0)), [(1.0, ForwardDiff.Dual(1.0, (1.0,)))]
38+
(ForwardDiff.Dual(2.0)), [(1.0, ForwardDiff.Dual(1.0, (1.0,)))]
4039
]
4140

4241
for p in p_possibilities

0 commit comments

Comments
 (0)