11# ## SDEProblem ###
2- DiffEqBase. SDEProblem (rn:: AbstractReactionNetwork , u0:: Union{AbstractArray, Number} , args... ; kwargs... ) =
2+ DiffEqBase. SDEProblem (rn:: DiffEqBase. AbstractReactionNetwork , u0:: Union{AbstractArray, Number} , args... ; kwargs... ) =
33 SDEProblem (rn, rn. g, u0, args... ;noise_rate_prototype= rn. p_matrix, kwargs... )
44
55# ## JumpProblem ###
6- function DiffEqJump. JumpProblem (prob,aggregator,rn:: AbstractReactionNetwork ; kwargs... )
6+ function DiffEqJump. JumpProblem (prob,aggregator,rn:: DiffEqBase. AbstractReactionNetwork ; kwargs... )
77 if typeof (prob)<: DiscreteProblem && any (issubtype .(typeof .(rn. jumps),VariableRateJump))
88 error (" When using time dependant reaction rates a DiscreteProblem should not be used (try an ODEProblem). Also, use a continious solver." )
99 end
@@ -28,9 +28,9 @@ function DiffEqJump.JumpProblem(prob,aggregator,rn::AbstractReactionNetwork; kwa
2828end
2929
3030# ## SteadyStateProblem ###
31- DiffEqBase. SteadyStateProblem (rn:: AbstractReactionNetwork , args... ; kwargs... ) =
31+ DiffEqBase. SteadyStateProblem (rn:: DiffEqBase. AbstractReactionNetwork , args... ; kwargs... ) =
3232 SteadyStateProblem (rn. f, args... ; kwargs... )
3333
34- function DiffEqBase. SteadyStateProblem {isinplace} (rn:: AbstractReactionNetwork , args... ; kwargs... ) where isinplace
34+ function DiffEqBase. SteadyStateProblem {isinplace} (rn:: DiffEqBase. AbstractReactionNetwork , args... ; kwargs... ) where isinplace
3535 SteadyStateProblem {isinplace} (rn. f, args... ; kwargs... )
3636end
0 commit comments