From c3625720e28ddb9e0465a147bf1005c5fc798d37 Mon Sep 17 00:00:00 2001 From: vyudu Date: Fri, 21 Feb 2025 17:00:25 -0800 Subject: [PATCH 1/2] fix test --- test/downstream/solution_interface.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/downstream/solution_interface.jl b/test/downstream/solution_interface.jl index 0235cc187d..8caccaf5c4 100644 --- a/test/downstream/solution_interface.jl +++ b/test/downstream/solution_interface.jl @@ -215,7 +215,7 @@ end @test sol[x] == xvals @test is_parameter(sol, p) @test parameter_index(sol, p) == parameter_index(sys, p) - @test isequal(only(parameter_symbols(sol)), p) + @test isequal(parameter_symbols(sol)[1], p) @test is_independent_variable(sol, t) tmp = copy(prob.u0) From 1428c2d0e4fe2b22a19b8b39e3254d33487d0182 Mon Sep 17 00:00:00 2001 From: Vincent Du <54586336+vyudu@users.noreply.github.com> Date: Wed, 19 Mar 2025 14:50:18 -0400 Subject: [PATCH 2/2] Update test/downstream/solution_interface.jl Co-authored-by: Aayush Sabharwal --- test/downstream/solution_interface.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/downstream/solution_interface.jl b/test/downstream/solution_interface.jl index 8caccaf5c4..5fcd02e407 100644 --- a/test/downstream/solution_interface.jl +++ b/test/downstream/solution_interface.jl @@ -215,7 +215,7 @@ end @test sol[x] == xvals @test is_parameter(sol, p) @test parameter_index(sol, p) == parameter_index(sys, p) - @test isequal(parameter_symbols(sol)[1], p) + @test any(isequal(p), parameter_symbols(sol)) @test is_independent_variable(sol, t) tmp = copy(prob.u0)