Skip to content

Commit 98e6705

Browse files
Merge pull request #333 from isaacsas/sdeprobdefault
default to iip for SDEProblems
2 parents 61335f0 + 74ea4cf commit 98e6705

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/systems/diffeqs/sdesystem.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,3 +182,7 @@ function DiffEqBase.SDEProblem{iip}(sys::SDESystem,u0map,tspan,parammap=DiffEqBa
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)