@@ -979,22 +979,30 @@ function Base.show(io::IO, mime::MIME"text/plain", jinputs::JumpInputs)
979
979
summary (io, jinputs)
980
980
end
981
981
982
+ # DROP IN CATALYST 16
982
983
# DiscreteProblem from AbstractReactionNetwork
983
984
function DiffEqBase. DiscreteProblem (rs:: ReactionSystem , u0, tspan:: Tuple ,
984
985
p = DiffEqBase. NullParameters (), args... ; name = nameof (rs),
985
986
combinatoric_ratelaws = get_combinatoric_ratelaws (rs), checks = false ,
986
987
expand_catalyst_funs = true , kwargs... )
988
+ Base. depwarn (" DiscreteProblem(rn::ReactionSystem, ...) is deprecated and will be \
989
+ removed in Catalyst 16. Use JumpInputs(rn, ...) instead." ,
990
+ :DiscreteProblem )
987
991
jsys = convert (JumpSystem, rs; name, combinatoric_ratelaws, checks,
988
992
expand_catalyst_funs)
989
993
jsys = complete (jsys)
990
994
return DiscreteProblem (jsys, u0, tspan, p, args... ; kwargs... )
991
995
end
992
996
997
+ # DROP IN CATALYST 16
993
998
# JumpProblem from AbstractReactionNetwork
994
- function JumpProcesses. JumpProblem (rs:: ReactionSystem , prob,
999
+ function JumpProcesses. JumpProblem (rs:: ReactionSystem , prob:: AbstractDEProblem ,
995
1000
aggregator = JumpProcesses. NullAggregator (); name = nameof (rs),
996
1001
combinatoric_ratelaws = get_combinatoric_ratelaws (rs),
997
1002
expand_catalyst_funs = true , checks = false , kwargs... )
1003
+ Base. depwarn (" JumpProblem(rn::ReactionSystem, prob, ...) is \
1004
+ deprecated and will be removed in Catalyst 16. Use \
1005
+ JumpProblem(JumpInputs(rn, ...), ...) insead." , :JumpProblem )
998
1006
jsys = convert (JumpSystem, rs; name, combinatoric_ratelaws,
999
1007
expand_catalyst_funs, checks)
1000
1008
jsys = complete (jsys)
0 commit comments