From 78eb54d7c8db78a120a34e5374210ad3b6f1bdbd Mon Sep 17 00:00:00 2001 From: Aayush Sabharwal Date: Thu, 9 Jan 2025 14:36:17 +0530 Subject: [PATCH] fix: remove ambiguous methods --- src/problem.jl | 10 ---------- 1 file changed, 10 deletions(-) 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