@@ -817,9 +817,7 @@ function DiffEqBase.ODEProblem{iip, specialize}(sys::AbstractODESystem, u0map =
817817 end
818818
819819 # Call `remake` so it runs initialization if it is trivial
820- # Pass `u0` and `p` to run `ReconstructInitializeprob` which will promote
821- # u0 and p of initializeprob
822- return remake (ODEProblem {iip} (f, u0, tspan, p, pt; kwargs1... , kwargs... ); u0, p)
820+ return remake (ODEProblem {iip} (f, u0, tspan, p, pt; kwargs1... , kwargs... ))
823821end
824822get_callback (prob:: ODEProblem ) = prob. kwargs[:callback ]
825823
@@ -1042,14 +1040,9 @@ function DiffEqBase.DAEProblem{iip}(sys::AbstractODESystem, du0map, u0map, tspan
10421040 end
10431041
10441042 # Call `remake` so it runs initialization if it is trivial
1045- # Pass `u0` and `p` to run `ReconstructInitializeprob` which will promote
1046- # u0 and p of initializeprob
1047- return remake (
1048- DAEProblem {iip} (
1049- f, du0, u0, tspan, p; differential_vars = differential_vars,
1050- kwargs... , kwargs1... );
1051- u0,
1052- p)
1043+ return remake (DAEProblem {iip} (
1044+ f, du0, u0, tspan, p; differential_vars = differential_vars,
1045+ kwargs... , kwargs1... ))
10531046end
10541047
10551048function generate_history (sys:: AbstractODESystem , u0; expression = Val{false }, kwargs... )
@@ -1095,9 +1088,7 @@ function DiffEqBase.DDEProblem{iip}(sys::AbstractODESystem, u0map = [],
10951088 kwargs1 = merge (kwargs1, (callback = cbs,))
10961089 end
10971090 # Call `remake` so it runs initialization if it is trivial
1098- # Pass `u0` and `p` to run `ReconstructInitializeprob` which will promote
1099- # u0 and p of initializeprob
1100- return remake (DDEProblem {iip} (f, u0, h, tspan, p; kwargs1... , kwargs... ); u0, p)
1091+ return remake (DDEProblem {iip} (f, u0, h, tspan, p; kwargs1... , kwargs... ))
11011092end
11021093
11031094function DiffEqBase. SDDEProblem (sys:: AbstractODESystem , args... ; kwargs... )
@@ -1148,14 +1139,9 @@ function DiffEqBase.SDDEProblem{iip}(sys::AbstractODESystem, u0map = [],
11481139 noise_rate_prototype = zeros (eltype (u0), size (noiseeqs))
11491140 end
11501141 # Call `remake` so it runs initialization if it is trivial
1151- # Pass `u0` and `p` to run `ReconstructInitializeprob` which will promote
1152- # u0 and p of initializeprob
1153- return remake (
1154- SDDEProblem {iip} (f, f. g, u0, h, tspan, p;
1155- noise_rate_prototype =
1156- noise_rate_prototype, kwargs1... , kwargs... );
1157- u0,
1158- p)
1142+ return remake (SDDEProblem {iip} (f, f. g, u0, h, tspan, p;
1143+ noise_rate_prototype =
1144+ noise_rate_prototype, kwargs1... , kwargs... ))
11591145end
11601146
11611147"""
0 commit comments