diff --git a/src/problem.jl b/src/problem.jl index 911aa2bc..6ec14162 100644 --- a/src/problem.jl +++ b/src/problem.jl @@ -150,11 +150,6 @@ function DiffEqBase.remake(jprob::JumpProblem; kwargs...) jprob.kwargs) end -# when setindex! is used. -function Base.setindex!(prob::JumpProblem, args...; kwargs...) - SciMLBase.___internal_setindex!(prob.prob, args...; kwargs...) -end - # for updating parameters in JumpProblems to update MassActionJumps function SII.finalize_parameters_hook!(prob::JumpProblem, p) if using_params(prob.massaction_jump) @@ -163,11 +158,6 @@ function SII.finalize_parameters_hook!(prob::JumpProblem, p) nothing end -# when getindex is used. -function Base.getindex(prob::JumpProblem, args...; kwargs...) - Base.getindex(prob.prob, args...; kwargs...) -end - DiffEqBase.isinplace(::JumpProblem{iip}) where {iip} = iip JumpProblem(prob::JumpProblem) = prob