@@ -892,7 +892,8 @@ function DiffEqBase.ODEProblem{iip, specialize}(sys::AbstractODESystem, u0map =
892
892
check_length = true ,
893
893
kwargs... ) where {iip, specialize}
894
894
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." )
896
897
f, u0, p = process_DEProblem (ODEFunction{iip, specialize}, sys, u0map, parammap;
897
898
t = tspan != = nothing ? tspan[1 ] : tspan,
898
899
check_length, kwargs... )
@@ -962,7 +963,8 @@ function DiffEqBase.DAEProblem{iip}(sys::AbstractODESystem, du0map, u0map, tspan
962
963
parammap = DiffEqBase. NullParameters ();
963
964
check_length = true , kwargs... ) where {iip}
964
965
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." )
966
968
f, du0, u0, p = process_DEProblem (DAEFunction{iip}, sys, u0map, parammap;
967
969
implicit_dae = true , du0map = du0map, check_length,
968
970
kwargs... )
@@ -972,7 +974,7 @@ function DiffEqBase.DAEProblem{iip}(sys::AbstractODESystem, du0map, u0map, tspan
972
974
kwargs = filter_kwargs (kwargs)
973
975
974
976
DAEProblem {iip} (f, du0, u0, tspan, p; differential_vars = differential_vars,
975
- kwargs... )
977
+ kwargs... )
976
978
end
977
979
978
980
function generate_history (sys:: AbstractODESystem , u0; kwargs... )
@@ -989,7 +991,8 @@ function DiffEqBase.DDEProblem{iip}(sys::AbstractODESystem, u0map = [],
989
991
check_length = true ,
990
992
kwargs... ) where {iip}
991
993
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." )
993
996
f, u0, p = process_DEProblem (DDEFunction{iip}, sys, u0map, parammap;
994
997
t = tspan != = nothing ? tspan[1 ] : tspan,
995
998
symbolic_u0 = true ,
@@ -1049,7 +1052,8 @@ function DiffEqBase.SDDEProblem{iip}(sys::AbstractODESystem, u0map = [],
1049
1052
sparsenoise = nothing ,
1050
1053
kwargs... ) where {iip}
1051
1054
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." )
1053
1057
f, u0, p = process_DEProblem (SDDEFunction{iip}, sys, u0map, parammap;
1054
1058
t = tspan != = nothing ? tspan[1 ] : tspan,
1055
1059
symbolic_u0 = true ,
0 commit comments