Skip to content

Commit 7df0655

Browse files
Update solve.jl
1 parent 4531c19 commit 7df0655

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/solve.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ function DiffEqBase.__solve(jump_prob::DiffEqBase.AbstractJumpProblem; kwargs...
3333
end
3434

3535
function DiffEqBase.__init(_jump_prob::DiffEqBase.AbstractJumpProblem{P},
36-
alg::DiffEqBase.DEAlgorithm, disp::ForceJumpDispatch = ForceJumpDispatch();
36+
alg::Union{SciMLBase.AbstractRODEAlgorithm, SciMLBase.AbstractSDEAlgorithm, DiffEqBase.DEAlgorithm},
37+
disp::ForceJumpDispatch = ForceJumpDispatch();
3738
callback = nothing, seed = nothing,
3839
alias_jump = Threads.threadid() == 1,
3940
kwargs...) where {P}

0 commit comments

Comments
 (0)