From 4dc9055f8b9c60dfacad7f5dd5cf2a9561b9b234 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Miclu=C8=9Ba-C=C3=A2mpeanu?= Date: Tue, 27 Aug 2024 18:26:09 +0300 Subject: [PATCH] test: fix test dep for ParametrizedInterpolation --- Project.toml | 3 ++- test/Blocks/sources.jl | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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)