@@ -547,7 +547,6 @@ function init_call(_prob, args...; merge_callbacks = true, kwargshandle = nothin
547
547
kwargshandle = has_kwargs (_prob) && haskey (_prob. kwargs, :kwargshandle ) ?
548
548
_prob. kwargs[:kwargshandle ] : kwargshandle
549
549
550
- _prob = get_updated_symbolic_problem (_get_root_indp (_prob), _prob)
551
550
if has_kwargs (_prob)
552
551
if merge_callbacks && haskey (_prob. kwargs, :callback ) && haskey (kwargs, :callback )
553
552
kwargs_temp = NamedTuple{
@@ -1240,24 +1239,27 @@ function checkkwargs(kwargshandle; kwargs...)
1240
1239
end
1241
1240
1242
1241
function get_concrete_problem (prob:: AbstractJumpProblem , isadapt; kwargs... )
1243
- prob
1242
+ get_updated_symbolic_problem ( _get_root_indp ( prob), prob)
1244
1243
end
1245
1244
1246
1245
function get_concrete_problem (prob:: SteadyStateProblem , isadapt; kwargs... )
1246
+ prob = get_updated_symbolic_problem (_get_root_indp (prob), prob)
1247
1247
p = get_concrete_p (prob, kwargs)
1248
1248
u0 = get_concrete_u0 (prob, isadapt, Inf , kwargs)
1249
1249
u0 = promote_u0 (u0, p, nothing )
1250
1250
remake (prob; u0 = u0, p = p)
1251
1251
end
1252
1252
1253
1253
function get_concrete_problem (prob:: NonlinearProblem , isadapt; kwargs... )
1254
+ prob = get_updated_symbolic_problem (_get_root_indp (prob), prob)
1254
1255
p = get_concrete_p (prob, kwargs)
1255
1256
u0 = get_concrete_u0 (prob, isadapt, nothing , kwargs)
1256
1257
u0 = promote_u0 (u0, p, nothing )
1257
1258
remake (prob; u0 = u0, p = p)
1258
1259
end
1259
1260
1260
1261
function get_concrete_problem (prob:: NonlinearLeastSquaresProblem , isadapt; kwargs... )
1262
+ prob = get_updated_symbolic_problem (_get_root_indp (prob), prob)
1261
1263
p = get_concrete_p (prob, kwargs)
1262
1264
u0 = get_concrete_u0 (prob, isadapt, nothing , kwargs)
1263
1265
u0 = promote_u0 (u0, p, nothing )
@@ -1279,6 +1281,7 @@ function init(prob::PDEProblem, alg::AbstractDEAlgorithm, args...;
1279
1281
end
1280
1282
1281
1283
function get_concrete_problem (prob, isadapt; kwargs... )
1284
+ prob = get_updated_symbolic_problem (_get_root_indp (prob), prob)
1282
1285
p = get_concrete_p (prob, kwargs)
1283
1286
tspan = get_concrete_tspan (prob, isadapt, kwargs, p)
1284
1287
u0 = get_concrete_u0 (prob, isadapt, tspan[1 ], kwargs)
@@ -1297,6 +1300,7 @@ function get_concrete_problem(prob, isadapt; kwargs...)
1297
1300
end
1298
1301
1299
1302
function get_concrete_problem (prob:: DAEProblem , isadapt; kwargs... )
1303
+ prob = get_updated_symbolic_problem (_get_root_indp (prob), prob)
1300
1304
p = get_concrete_p (prob, kwargs)
1301
1305
tspan = get_concrete_tspan (prob, isadapt, kwargs, p)
1302
1306
u0 = get_concrete_u0 (prob, isadapt, tspan[1 ], kwargs)
@@ -1320,6 +1324,7 @@ function get_concrete_problem(prob::DAEProblem, isadapt; kwargs...)
1320
1324
end
1321
1325
1322
1326
function get_concrete_problem (prob:: DDEProblem , isadapt; kwargs... )
1327
+ prob = get_updated_symbolic_problem (_get_root_indp (prob), prob)
1323
1328
p = get_concrete_p (prob, kwargs)
1324
1329
tspan = get_concrete_tspan (prob, isadapt, kwargs, p)
1325
1330
u0 = get_concrete_u0 (prob, isadapt, tspan[1 ], kwargs)
0 commit comments