From 72a857699c0d90fbe2676ad42979bbff04f9f3ce Mon Sep 17 00:00:00 2001 From: Aayush Sabharwal Date: Wed, 20 Dec 2023 12:01:42 +0530 Subject: [PATCH] fix: use pdesystem for AbstractPDESolution SII --- src/solutions/solution_interface.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/solutions/solution_interface.jl b/src/solutions/solution_interface.jl index 2edb0ddf6..b8b054ff8 100644 --- a/src/solutions/solution_interface.jl +++ b/src/solutions/solution_interface.jl @@ -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 + SymbolicIndexingInterface.is_independent_variable(::AbstractNoTimeSolution, sym) = false SymbolicIndexingInterface.independent_variable_symbols(::AbstractNoTimeSolution) = []