Skip to content

Commit 20344fa

Browse files
fix: propagate kwargs properly in JumpProblem
1 parent 4f67240 commit 20344fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/problems/jumpproblem.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
kwargs...)
2424
else
2525
_, u0, p = process_SciMLProblem(EmptySciMLFunction{iip}, sys, op;
26-
t = tspan === nothing ? nothing : tspan[1], tofloat = false,
27-
check_length = false, build_initializeprob = false)
26+
t = tspan === nothing ? nothing : tspan[1],
27+
check_length = false, build_initializeprob = false, kwargs...)
2828
observedfun = ObservedFunctionCache(sys; eval_expression, eval_module,
2929
checkbounds, cse)
3030
f = (du, u, p, t) -> (du .= 0; nothing)
@@ -33,7 +33,7 @@
3333
end
3434
else
3535
_f, u0, p = process_SciMLProblem(EmptySciMLFunction{iip}, sys, op;
36-
t = tspan === nothing ? nothing : tspan[1], tofloat = false, check_length = false, build_initializeprob = false, cse)
36+
t = tspan === nothing ? nothing : tspan[1], check_length = false, build_initializeprob = false, cse, kwargs...)
3737
f = DiffEqBase.DISCRETE_INPLACE_DEFAULT
3838

3939
observedfun = ObservedFunctionCache(

0 commit comments

Comments
 (0)