@@ -88,7 +88,7 @@ struct DiscreteProblem{uType, tType, isinplace, P, F, K} <:
8888 """ A callback to be applied to every solver which uses the problem."""
8989 kwargs:: K
9090 @add_kwonly function DiscreteProblem {iip} (f:: AbstractDiscreteFunction{iip} ,
91- u0, tspan:: Tuple , p = NullParameters ();
91+ u0, tspan, p = NullParameters ();
9292 kwargs... ) where {iip}
9393 _u0 = prepare_initial_state (u0)
9494 _tspan = promote_tspan (tspan)
@@ -138,12 +138,12 @@ end
138138
139139Defines a discrete problem with the specified functions.
140140"""
141- function DiscreteProblem (f:: AbstractDiscreteFunction , u0, tspan:: Tuple ,
141+ function DiscreteProblem (f:: AbstractDiscreteFunction , u0, tspan,
142142 p = NullParameters (); kwargs... )
143143 DiscreteProblem {isinplace(f)} (f, u0, tspan, p; kwargs... )
144144end
145145
146- function DiscreteProblem (f:: Base.Callable , u0, tspan:: Tuple , p = NullParameters ();
146+ function DiscreteProblem (f:: Base.Callable , u0, tspan, p = NullParameters ();
147147 kwargs... )
148148 iip = isinplace (f, 4 )
149149 DiscreteProblem (DiscreteFunction {iip} (f), u0, tspan, p; kwargs... )
@@ -154,7 +154,7 @@ $(SIGNATURES)
154154
155155Define a discrete problem with the identity map.
156156"""
157- function DiscreteProblem (u0:: Union{AbstractArray, Number} , tspan:: Tuple ,
157+ function DiscreteProblem (u0:: Union{AbstractArray, Number} , tspan,
158158 p = NullParameters (); kwargs... )
159159 iip = u0 isa AbstractArray
160160 if iip
@@ -197,6 +197,3 @@ struct DiscreteAliasSpecifier
197197 end
198198 end
199199end
200-
201-
202-
0 commit comments