@@ -352,17 +352,18 @@ function DiffEqBase.__init(prob::AbstractSDDEProblem,# TODO DiffEqBasee.Abstract
352352 verbose, calck, force_dtmin,
353353 advance_to_tstop, stop_at_next_tstop)
354354
355+ destats = DiffEqBase. DEStats (0 )
355356 if typeof (getalg (alg)) <: StochasticDiffEq.StochasticDiffEqCompositeAlgorithm
356357 # TODO : DISCONNECT!!!!
357358 sol = DiffEqBase. build_solution (prob, alg, sde_integrator. sol. t, sde_integrator. sol. u, W = W,
358- destats = DiffEqBase . DEStats ( 0 ) ,
359+ destats = destats ,
359360 calculate_error = false , alg_choice = alg_choice,
360361 interp = id, dense = dense, seed = _seed)
361362 # separate statistics of the integrator and the history
362363 else
363364 # TODO : DISCONNECT!!!!
364365 sol = DiffEqBase. build_solution (prob, alg, sde_integrator. sol. t, sde_integrator. sol. u, W = W,
365- destats = DiffEqBase . DEStats ( 0 ) ,
366+ destats = destats ,
366367 calculate_error = false ,
367368 interp = id, dense = dense, seed = _seed)
368369 # separate statistics of the integrator and the history
@@ -412,7 +413,7 @@ function DiffEqBase.__init(prob::AbstractSDDEProblem,# TODO DiffEqBasee.Abstract
412413 just_hit_tstop, isout, event_last_time, vector_event_last_time, last_event_error, accept_step,
413414 last_stepfail, force_stepfail, dtchangeable, u_modified, saveiter, getalg (alg), sol,
414415 cache, callback_cache, tType (dt), W, P,
415- opts, iter, success_iter, eigen_est, EEst, q, QT (qoldinit), q11, history, sde_integrator)
416+ opts, iter, success_iter, eigen_est, EEst, q, QT (qoldinit), q11, history, destats, sde_integrator)
416417
417418 if initialize_integrator
418419 StochasticDiffEq. initialize_callbacks! (integrator, initialize_save)
0 commit comments