Skip to content

Commit

Permalink
pass on kwargs for JumpProblem
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Mar 12, 2018
1 parent be84648 commit 06139ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/problem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ DiffEqBase.SDEProblem(rn::AbstractReactionNetwork, args...; kwargs...) =
SDEProblem(rn.f,rn.g, args...;noise_rate_prototype=rn.p_matrix, kwargs...)

### JumpProblem ###
DiffEqJump.JumpProblem(prob,aggregator::Direct,rn::AbstractReactionNetwork) =
JumpProblem(prob,aggregator::Direct,rn.jumps...)
DiffEqJump.JumpProblem(prob,aggregator::Direct,rn::AbstractReactionNetwork; kwargs...) =
JumpProblem(prob,aggregator::Direct,rn.jumps...;kwargs...)

0 comments on commit 06139ec

Please sign in to comment.