Skip to content

Commit

Permalink
fix: remove ambiguous methods
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Jan 9, 2025
1 parent 13637b8 commit 78eb54d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/problem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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

Expand Down

0 comments on commit 78eb54d

Please sign in to comment.