Skip to content

Commit

Permalink
Update test/jprob_symbol_indexing.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Aayush Sabharwal <[email protected]>
  • Loading branch information
ChrisRackauckas and AayushSabharwal authored Jan 25, 2024
1 parent bd48982 commit 77995f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/jprob_symbol_indexing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 77995f7

Please sign in to comment.