@@ -892,7 +892,8 @@ function DiffEqBase.ODEProblem{iip, specialize}(sys::AbstractODESystem, u0map =
892892 check_length = true ,
893893 kwargs... ) where {iip, specialize}
894894 has_difference = any (isdifferenceeq, equations (sys))
895- has_difference && error (" The operators Difference and DiscreteUpdate are deprecated. Use ShiftIndex instead." )
895+ has_difference &&
896+ error (" The operators Difference and DiscreteUpdate are deprecated. Use ShiftIndex instead." )
896897 f, u0, p = process_DEProblem (ODEFunction{iip, specialize}, sys, u0map, parammap;
897898 t = tspan != = nothing ? tspan[1 ] : tspan,
898899 check_length, kwargs... )
@@ -962,7 +963,8 @@ function DiffEqBase.DAEProblem{iip}(sys::AbstractODESystem, du0map, u0map, tspan
962963 parammap = DiffEqBase. NullParameters ();
963964 check_length = true , kwargs... ) where {iip}
964965 has_difference = any (isdifferenceeq, equations (sys))
965- has_difference && error (" The operators Difference and DiscreteUpdate are deprecated. Use ShiftIndex instead." )
966+ has_difference &&
967+ error (" The operators Difference and DiscreteUpdate are deprecated. Use ShiftIndex instead." )
966968 f, du0, u0, p = process_DEProblem (DAEFunction{iip}, sys, u0map, parammap;
967969 implicit_dae = true , du0map = du0map, check_length,
968970 kwargs... )
@@ -972,7 +974,7 @@ function DiffEqBase.DAEProblem{iip}(sys::AbstractODESystem, du0map, u0map, tspan
972974 kwargs = filter_kwargs (kwargs)
973975
974976 DAEProblem {iip} (f, du0, u0, tspan, p; differential_vars = differential_vars,
975- kwargs... )
977+ kwargs... )
976978end
977979
978980function generate_history (sys:: AbstractODESystem , u0; kwargs... )
@@ -989,7 +991,8 @@ function DiffEqBase.DDEProblem{iip}(sys::AbstractODESystem, u0map = [],
989991 check_length = true ,
990992 kwargs... ) where {iip}
991993 has_difference = any (isdifferenceeq, equations (sys))
992- has_difference && error (" The operators Difference and DiscreteUpdate are deprecated. Use ShiftIndex instead." )
994+ has_difference &&
995+ error (" The operators Difference and DiscreteUpdate are deprecated. Use ShiftIndex instead." )
993996 f, u0, p = process_DEProblem (DDEFunction{iip}, sys, u0map, parammap;
994997 t = tspan != = nothing ? tspan[1 ] : tspan,
995998 symbolic_u0 = true ,
@@ -1049,7 +1052,8 @@ function DiffEqBase.SDDEProblem{iip}(sys::AbstractODESystem, u0map = [],
10491052 sparsenoise = nothing ,
10501053 kwargs... ) where {iip}
10511054 has_difference = any (isdifferenceeq, equations (sys))
1052- has_difference && error (" The operators Difference and DiscreteUpdate are deprecated. Use ShiftIndex instead." )
1055+ has_difference &&
1056+ error (" The operators Difference and DiscreteUpdate are deprecated. Use ShiftIndex instead." )
10531057 f, u0, p = process_DEProblem (SDDEFunction{iip}, sys, u0map, parammap;
10541058 t = tspan != = nothing ? tspan[1 ] : tspan,
10551059 symbolic_u0 = true ,
0 commit comments