Skip to content

Commit 1c05db0

Browse files
committed
merge IntegralProblem kwargs
1 parent 08bb71b commit 1c05db0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/common.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ init_cacheval(::SciMLBase.AbstractIntegralAlgorithm, args...) = nothing
1717
function SciMLBase.init(prob::IntegralProblem{iip},
1818
alg::SciMLBase.AbstractIntegralAlgorithm;
1919
sensealg = ReCallVJP(ZygoteVJP()),
20-
do_inf_transformation = nothing, kwargs...) where {iip}
20+
do_inf_transformation = nothing, kws...) where {iip}
21+
kwargs = pairs((; prob.kwargs..., kws...))
2122
checkkwargs(kwargs...)
2223
prob = transformation_if_inf(prob, do_inf_transformation)
2324
cacheval = init_cacheval(alg, prob)

0 commit comments

Comments
 (0)