Skip to content

Commit 4d5daa3

Browse files
fix: pass t to process_SciMLProblem in SDEProblem
1 parent c9c613f commit 4d5daa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/diffeqs/sdesystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ function DiffEqBase.SDEProblem{iip, specialize}(
738738
end
739739
f, u0, p = process_SciMLProblem(
740740
SDEFunction{iip, specialize}, sys, u0map, parammap; check_length,
741-
kwargs...)
741+
t = tspan === nothing ? nothing : tspan[1], kwargs...)
742742
cbs = process_events(sys; callback, kwargs...)
743743
sparsenoise === nothing && (sparsenoise = get(kwargs, :sparse, false))
744744

0 commit comments

Comments
 (0)