@@ -438,73 +438,57 @@ function SciMLBase.__init(
438438 save_everystep || isempty (saveat) || saveat isa Number || prob. tspan[2 ] in saveat :
439439 save_end
440440
441+ save_idxs = nothing
442+ internalnorm = ODE_DEFAULT_NORM
443+ save_discretes = true
444+
441445 opts = DEOptions{
442- typeof (abstol_internal),
443- typeof (reltol_internal),
444- QT,
445- tType,
446- typeof (controller),
447- typeof (ODE_DEFAULT_NORM),
448- typeof (internalopnorm),
446+ typeof (abstol_internal), typeof (reltol_internal),
447+ QT, tType, typeof (controller),
448+ typeof (internalnorm), typeof (internalopnorm),
449449 typeof (save_end_user),
450450 typeof (callbacks_internal),
451451 typeof (isoutofdomain),
452- typeof (progress_message),
453- typeof (unstable_check),
452+ typeof (progress_message), typeof (unstable_check),
454453 typeof (tstops_internal),
455- typeof (d_discontinuities_internal),
456- typeof (userdata),
457- typeof (nothing ),
458- typeof (maxiters),
459- typeof (tstops),
460- typeof (saveat),
461- typeof (d_discontinuities),
454+ typeof (d_discontinuities_internal), typeof (userdata),
455+ typeof (save_idxs),
456+ typeof (maxiters), typeof (tstops),
457+ typeof (saveat), typeof (d_discontinuities),
462458 }(
463- maxiters,
464- save_everystep,
465- adaptive,
466- abstol_internal,
459+ maxiters, save_everystep,
460+ adaptive, abstol_internal,
467461 reltol_internal,
468- QT (gamma),
469- QT (qmax),
462+ QT (gamma), QT (qmax),
470463 QT (qmin),
471464 QT (qsteady_max),
472465 QT (qsteady_min),
473466 QT (qoldinit),
474467 QT (failfactor),
475- tType (dtmax),
476- tType (dtmin),
468+ tType (dtmax), tType (dtmin),
477469 controller,
478- ODE_DEFAULT_NORM ,
470+ internalnorm ,
479471 internalopnorm,
480- nothing , # save_idxs
481- tstops_internal,
472+ save_idxs, tstops_internal,
482473 saveat_internal,
483474 d_discontinuities_internal,
484- tstops,
485- saveat,
475+ tstops, saveat,
486476 d_discontinuities,
487- userdata,
488- progress,
477+ userdata, progress,
489478 progress_steps,
490479 progress_name,
491480 progress_message,
492481 progress_id,
493482 timeseries_errors,
494- dense_errors,
495- dense,
496- save_on,
497- save_start,
498- save_end,
499- save_end_user,
483+ dense_errors, dense,
484+ save_on, save_start,
485+ save_end, save_discretes, save_end_user,
500486 callbacks_internal,
501487 isoutofdomain,
502488 unstable_check,
503- verbose,
504- calck,
505- force_dtmin,
489+ verbose, calck, force_dtmin,
506490 advance_to_tstop,
507- stop_at_next_tstop,
491+ stop_at_next_tstop
508492 )
509493
510494 stats = SciMLBase. DEStats (0 )
0 commit comments