Skip to content

Commit

Permalink
fix for DEintegrator
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardssmith committed Jan 10, 2024
1 parent bc92540 commit c66e627
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/integrator_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -426,12 +426,6 @@ end

# SymbolicIndexingInterface
SymbolicIndexingInterface.symbolic_container(A::DEIntegrator) = A.f
function SymbolicIndexingInterface.is_observed(A::DEIntegrator, sym)
return !is_variable(A, sym) && !is_parameter(A, sym) && !is_independent_variable(A, sym) && symbolic_type(sym) == ScalarSymbolic()
end
function SymbolicIndexingInterface.observed(A::DEIntegrator, sym)
return getobserved(A)(sym)
end
SymbolicIndexingInterface.parameter_values(A::DEIntegrator) = A.p
SymbolicIndexingInterface.state_values(A::DEIntegrator) = A.u
SymbolicIndexingInterface.current_time(A::DEIntegrator) = A.t
Expand Down

0 comments on commit c66e627

Please sign in to comment.