Skip to content

Commit 4b226b5

Browse files
committed
Merge branch 'master' into reactions_with_multu_stoich_and_empty_sides
2 parents 4e2daa2 + 98e6705 commit 4b226b5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/systems/diffeqs/sdesystem.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ function DiffEqBase.SDEProblem{iip}(sys::SDESystem,u0map,tspan,p=parammap;
168168
Generates an SDEProblem from an SDESystem and allows for automatically
169169
symbolically calculating numerical enhancements.
170170
"""
171-
function DiffEqBase.SDEProblem{iip}(sys::SDESystem,u0map,tspan,p=parammap;
171+
function DiffEqBase.SDEProblem{iip}(sys::SDESystem,u0map,tspan,parammap=DiffEqBase.NullParameters();
172172
version = nothing, tgrad=false,
173173
jac = false, Wfact = false,
174174
checkbounds = false, sparse = false,
@@ -182,3 +182,7 @@ function DiffEqBase.SDEProblem{iip}(sys::SDESystem,u0map,tspan,p=parammap;
182182
p = varmap_to_vars(parammap,parameters(sys))
183183
SDEProblem(f,f.g,u0,tspan,p;kwargs...)
184184
end
185+
186+
function DiffEqBase.SDEProblem(sys::SDESystem, args...; kwargs...)
187+
SDEProblem{true}(sys, args...; kwargs...)
188+
end

0 commit comments

Comments
 (0)