Skip to content

Commit

Permalink
fix: use pdesystem for AbstractPDESolution SII
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Dec 20, 2023
1 parent 855b485 commit 72a8576
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/solutions/solution_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ const AbstractSolution = Union{AbstractTimeseriesSolution,AbstractNoTimeSolution
SymbolicIndexingInterface.symbolic_container(A::AbstractSolution) = A.prob.f
SymbolicIndexingInterface.parameter_values(A::AbstractSolution) = A.prob.p

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

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

View check run for this annotation

Codecov / codecov/patch

src/solutions/solution_interface.jl#L35

Added line #L35 was not covered by tests

SymbolicIndexingInterface.is_independent_variable(::AbstractNoTimeSolution, sym) = false

SymbolicIndexingInterface.independent_variable_symbols(::AbstractNoTimeSolution) = []
Expand Down

0 comments on commit 72a8576

Please sign in to comment.