Skip to content

Commit

Permalink
refactor: implement two-argument SII.parameter_values
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Feb 9, 2024
1 parent 3b70518 commit 9277b8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/solutions/solution_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ end

SymbolicIndexingInterface.symbolic_container(A::AbstractSolution) = A.prob.f
SymbolicIndexingInterface.parameter_values(A::AbstractSolution) = A.prob.p
SymbolicIndexingInterface.parameter_values(A::AbstractSolution, i) = parameter_values(parameter_values(A), i)

Check warning on line 43 in src/solutions/solution_interface.jl

View check run for this annotation

Codecov / codecov/patch

src/solutions/solution_interface.jl#L43

Added line #L43 was not covered by tests

SymbolicIndexingInterface.symbolic_container(A::AbstractPDESolution) = A.disc_data.pdesys

Expand Down

0 comments on commit 9277b8d

Please sign in to comment.