From 77995f7efc515c3eb9984eaca3f73822ef7794b8 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Thu, 25 Jan 2024 00:52:48 -0500 Subject: [PATCH] Update test/jprob_symbol_indexing.jl Co-authored-by: Aayush Sabharwal --- test/jprob_symbol_indexing.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/jprob_symbol_indexing.jl b/test/jprob_symbol_indexing.jl index 201a8c69..5428770c 100644 --- a/test/jprob_symbol_indexing.jl +++ b/test/jprob_symbol_indexing.jl @@ -17,3 +17,5 @@ jprob = JumpProblem(dprob, Direct(), crj1, crj2) # these are no longer supported by SciMLBase @test getp(jprob,:p1)(jprob) == 1.0 @test getp(jprob,:p2)(jprob) == 2.0 +@test jprob.ps[:p1] == 1.0 +@test jprob.ps[:p2] == 2.0