diff --git a/Project.toml b/Project.toml index 5aea0c7d4..3e0802467 100644 --- a/Project.toml +++ b/Project.toml @@ -42,6 +42,7 @@ julia = "1.10" Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" ControlSystemsBase = "aaaaaaaa-a6ca-5380-bf3e-84a91bcd477e" DataInterpolations = "82cc6244-b520-54b8-b5a6-8a565e85f1d0" +ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" Optimization = "7f7a1694-90dd-40f0-9382-eb1efda571ba" OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed" @@ -52,4 +53,4 @@ SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["Aqua", "LinearAlgebra", "OrdinaryDiffEq", "OrdinaryDiffEqDefault", "Optimization", "SafeTestsets", "Test", "ControlSystemsBase", "DataInterpolations", "SciMLStructures", "SymbolicIndexingInterface"] +test = ["Aqua", "LinearAlgebra", "OrdinaryDiffEqDefault", "OrdinaryDiffEq", "Optimization", "SafeTestsets", "Test", "ControlSystemsBase", "DataInterpolations", "SciMLStructures", "SymbolicIndexingInterface", "ForwardDiff"] diff --git a/test/Blocks/sources.jl b/test/Blocks/sources.jl index af23dbff8..fd9ca9617 100644 --- a/test/Blocks/sources.jl +++ b/test/Blocks/sources.jl @@ -9,6 +9,7 @@ using DataInterpolations using SymbolicIndexingInterface using SciMLStructures: SciMLStructures, Tunable using Optimization +using ForwardDiff @testset "Constant" begin @named src = Constant(k = 2)