Skip to content

Commit da1df0b

Browse files
committed
Minor fix
1 parent e45136e commit da1df0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/problem_interface.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function DAECProblem(f, tspan::Tuple{Real, Real} = (0., 1.);
4141
end
4242

4343
function DiffEqBase.get_concrete_problem(prob::DAECProblem, isadaptive; kwargs...)
44-
settings = Settings(; mode=prob.init === nothing ? DAE : DAENoInit, prob.settings.force_inline_all, prob.settings.insert_stmt_debuginfo, prob.insert_ssa_debuginfo)
44+
settings = Settings(; mode=prob.init === nothing ? DAE : DAENoInit, prob.settings.force_inline_all, prob.settings.insert_stmt_debuginfo, prob.settings.insert_ssa_debuginfo)
4545
(daef, differential_vars) = factory(Val(settings), prob.f)
4646

4747
u0 = zeros(length(differential_vars))
@@ -93,7 +93,7 @@ function ODECProblem(f, tspan::Tuple{Real, Real} = (0., 1.);
9393
end
9494

9595
function DiffEqBase.get_concrete_problem(prob::ODECProblem, isadaptive; kwargs...)
96-
settings = Settings(; mode=prob.init === nothing ? ODE : ODENoInit, prob.settings.force_inline_all, prob.settings.insert_stmt_debuginfo, prob.insert_ssa_debuginfo)
96+
settings = Settings(; mode=prob.init === nothing ? ODE : ODENoInit, prob.settings.force_inline_all, prob.settings.insert_stmt_debuginfo, prob.settings.insert_ssa_debuginfo)
9797
(odef, n) = factory(Val(settings), prob.f)
9898

9999
u0 = zeros(n)

0 commit comments

Comments
 (0)