@@ -316,6 +316,7 @@ function DiffEqBase.__init(prob::AbstractSDDEProblem,# TODO DiffEqBasee.Abstract
316316 end
317317 end
318318
319+ save_idxs, saved_subsystem = SciMLBase. get_save_idxs_and_saved_subsystem (prob, save_idxs)
319320 ts, timeseries, saveiter = solution_arrays (u, tspan, rate_prototype,
320321 timeseries_init = timeseries_init,
321322 ts_init = ts_init, save_idxs = save_idxs,
@@ -414,15 +415,15 @@ function DiffEqBase.__init(prob::AbstractSDDEProblem,# TODO DiffEqBasee.Abstract
414415 # TODO : DISCONNECT!!!!
415416 sol = DiffEqBase. build_solution (prob, alg, sde_integrator. sol. t,
416417 sde_integrator. sol. u, W = W,
417- stats = stats,
418+ stats = stats, saved_subsystem = saved_subsystem,
418419 calculate_error = false , alg_choice = alg_choice,
419420 interp = id, dense = dense, seed = _seed)
420421 # separate statistics of the integrator and the history
421422 else
422423 # TODO : DISCONNECT!!!!
423424 sol = DiffEqBase. build_solution (prob, alg, sde_integrator. sol. t,
424425 sde_integrator. sol. u, W = W,
425- stats = stats,
426+ stats = stats, saved_subsystem = saved_subsystem,
426427 calculate_error = false ,
427428 interp = id, dense = dense, seed = _seed)
428429 # separate statistics of the integrator and the history
0 commit comments