Skip to content

Commit 95250e0

Browse files
Update problem.jl
1 parent 1322f56 commit 95250e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/problem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### SDEProblem ###
22
DiffEqBase.SDEProblem(rn::DiffEqBase.AbstractReactionNetwork, u0::Union{AbstractArray, Number}, args...; kwargs...) =
3-
SDEProblem(rn, rn.g, u0, args...;noise_rate_prototype=rn.p_matrix, kwargs...)
3+
SDEProblem(rn, rn.g::Function, u0, args...;noise_rate_prototype=rn.p_matrix, kwargs...)
44

55
### JumpProblem ###
66
function DiffEqJump.JumpProblem(prob,aggregator,rn::DiffEqBase.AbstractReactionNetwork; kwargs...)

0 commit comments

Comments
 (0)