1
1
# ## SDEProblem ###
2
- DiffEqBase. SDEProblem (rn:: AbstractReactionNetwork , u0:: Union{AbstractArray, Number} , args... ; kwargs... ) =
2
+ DiffEqBase. SDEProblem (rn:: DiffEqBase. AbstractReactionNetwork , u0:: Union{AbstractArray, Number} , args... ; kwargs... ) =
3
3
SDEProblem (rn, rn. g, u0, args... ;noise_rate_prototype= rn. p_matrix, kwargs... )
4
4
5
5
# ## JumpProblem ###
6
- function DiffEqJump. JumpProblem (prob,aggregator,rn:: AbstractReactionNetwork ; kwargs... )
6
+ function DiffEqJump. JumpProblem (prob,aggregator,rn:: DiffEqBase. AbstractReactionNetwork ; kwargs... )
7
7
if typeof (prob)<: DiscreteProblem && any (issubtype .(typeof .(rn. jumps),VariableRateJump))
8
8
error (" When using time dependant reaction rates a DiscreteProblem should not be used (try an ODEProblem). Also, use a continious solver." )
9
9
end
@@ -28,9 +28,9 @@ function DiffEqJump.JumpProblem(prob,aggregator,rn::AbstractReactionNetwork; kwa
28
28
end
29
29
30
30
# ## SteadyStateProblem ###
31
- DiffEqBase. SteadyStateProblem (rn:: AbstractReactionNetwork , args... ; kwargs... ) =
31
+ DiffEqBase. SteadyStateProblem (rn:: DiffEqBase. AbstractReactionNetwork , args... ; kwargs... ) =
32
32
SteadyStateProblem (rn. f, args... ; kwargs... )
33
33
34
- function DiffEqBase. SteadyStateProblem {isinplace} (rn:: AbstractReactionNetwork , args... ; kwargs... ) where isinplace
34
+ function DiffEqBase. SteadyStateProblem {isinplace} (rn:: DiffEqBase. AbstractReactionNetwork , args... ; kwargs... ) where isinplace
35
35
SteadyStateProblem {isinplace} (rn. f, args... ; kwargs... )
36
36
end
0 commit comments